beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Boolean.ToggleBool

ToggleBool
op id:712a25f4-3a93-4042-b8c5-2f56169186cc
Toggle a boolean value by triggering

summary (oneliner)

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

doc

youtube id

Inputs

trigger (Function)

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


reset (Function)

Resets the Result to false


Outputs

result (Number)

Either true or false


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using ToggleBool

Public Patches using ToggleBool