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

ToggleNumber Op

Ops.Value.ToggleNumber


ToggleNumber
Namespace: Ops.Value

Op author: pandur

Switches two number values using a boolean


summary (oneliner)

Per default Value 0 will go through to the output port.
When Use Value 1 is checked / set to true, Value 1 will be outputted.



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

Use Value 1 (boolean /Number)

When false Value 0 will be used, Value 1 otherwise


Value 0 (Number)

The default value which will be used (when Use Value 1 is not set).


Value 1 (Number)

The value to be used (when Use Value 1 is checked).


Outputs

Out Value (Number)

Either Value 0 or Value 1


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Changelog


Ops.Value.ValueToggle renamed to Ops.Value.ToggleNumber
2019-11-05 - pandur

Examples using ToggleNumber ()

Public Patches using ToggleNumber ()