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

ToggleBool_v2 Op

Ops.Boolean.ToggleBool_v2


ToggleBool
Namespace: Ops.Boolean

Op author: pandur

Test Patches: 1 Test

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



Inputs

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 (boolean /Number)

Outputs

result (boolean Number)

Either true or false

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

example - toggle bool

Open Example In Editor

Patches using ToggleBool_v2

Changelog


cloned op from Ops.Boolean.ToggleBool
2022-12-01 - pandur
Ops.User.pandur.ToggleBoolV2 renamed to Ops.Boolean.ToggleBool_v2
2022-12-01 - pandur
bugfixoutput default value on patch load
2022-12-14 - pandur