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

ToggleNumber Op

ToggleNumber

Switches two number values using a boolean


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.


Edit Documentation

Full Name
  • Ops.Number.ToggleNumber
Visibility
  • Core Op - Official cables op
Author


 

INPUT PORTS


Use Value 1 (Number:boolean )

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).

OUTPUT PORTS


Out Value (Number)

Either Value 0 or Value 1


Usages of ToggleNumber

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


Ops.Value.ValueToggle renamed to Ops.Value.ToggleNumberuser avatarpandur - 2019-11-05
renameOps.Value.ToggleNumber renamed to Ops.Number.ToggleNumberuser avatarpandur - 2023-12-06