Routes the selected input port’s data to the output port.
This node is useful for choosing between different data. The
Option inputs can come from different data sources, and the
Which input port can pick one of them to use.
Which port selects the
Option input port that will be routed to the output port. If
Which is false, it selects
False Option. If
Which is true, it selects
Events that come in through the currently selected
Option port are passed on through the output port. Events that come in through the other
Option port are blocked.
Which port lets you select between options using a boolean (true/false) value. If instead you want to select between two options using an integer (numerical) value, you can use a
Select Input (2) or
Select Input (8) node.
Keywords: 0, 1, activate, block, boolean, case, choose, condition, control flow, deactivate, disable, door, else, enable, false, if, mode, multiplexer, pick, route, switch, true