ToggleBool_v2 Op
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
…
Full Name
- Ops.Boolean.ToggleBool_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch example - toggle bool
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
Changelog
cloned op from Ops.Boolean.ToggleBool | pandur - 2022-12-01 09:40 | |
bugfix | output default value on patch load | pandur - 2022-12-14 17:11 |
improvement | Add output trigger which is triggered after any input was triggered | pandur - 2024-07-23 10:53 |
bugfix | fixed bug when default value true needed two trigger to become false | tobyk - 2024-08-12 17:44 |