ToggleBool_v2 Op

ToggleBool

Toggle a boolean value by triggering


Outputs a boolean value which changes state every time Trigger is executed, this will result in an output like true -> false -> true -> false


Full Name
  • Ops.Boolean.ToggleBool_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


trigger (Trigger)

When triggered the output value will be toggled from true to false and the other way around.

reset (Trigger)

Resets the Result to false

Default (Number:boolean )

OUTPUT PORTS


Next (Trigger)
result (boolean Number)

Either true or false


Patches using ToggleBool_v2

  • Examples
  • Public
  • My Patches

Changelog


cloned op from Ops.Boolean.ToggleBooluser avatarpandur - 2022-12-01 09:40
bugfixoutput default value on patch loaduser avatarpandur - 2022-12-14 17:11
improvementAdd output trigger which is triggered after any input was triggereduser avatarpandur - 2024-07-23 10:53
bugfixfixed bug when default value true needed two trigger to become falseuser avatartobyk - 2024-08-12 17:44