Routes an event to the selected output port.
This node is useful for activating different parts of a composition at different times. It can block events to part of the composition unless certain conditions are met.
Which port selects the
Option output port to which incoming events will be routed. If
Which is 1 (or less), it selects
Option 1. If
Which is 2 (or more), it selects
Events that come in through the
In port or
Which port are passed on through the selected output port (and no other output port).
Which port lets you select between options using an integer (numerical) value. If instead you want to select between two options using a boolean (true/false) value, you can use a Select Event Output (Boolean) node.
Keywords: activate, block, case, choose, condition, control flow, deactivate, demultiplexer, disable, door, enable, if then else statement, mode, pick, route, switch, wall