Skip to main content
The Switch node selects between two possible inputs based on a boolean condition. When switch is enabled (true), it passes the on_true input through to the output; when disabled (false), it passes on_false. Only the selected branch is evaluated, so the other input does not need to be connected.

Inputs

Note on Input Requirements: The on_false and on_true inputs are conditionally required. The node requests the on_true input only when the switch is true, and the on_false input only when the switch is false. Both inputs must be of the same data type and must match the output data type. If the selected input is not connected, the node outputs no value.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 42c442efeda0197d950702c52647233dee1a30216fb07e1ce4bc844784a6c5f2