Switch
Switch
Section titled “Switch” Category Utility
Is Pair Node: No
A node that outputs one of two values based on a boolean condition. Value types can be different.
Inputs
Section titled “Inputs” Condition
Section titled “ Condition ” Type: Boolean
Default: false
A boolean condition that determines which output will be used. If the condition is true, the "On True" output will be used. If the condition is false, the "On False" output will be used.
On True
Section titled “ On True ” Type: Object
Default: null
An object that will be outputted if the condition is true. The type of the object can be anything.
On False
Section titled “ On False ” Type: Object
Default: null
An object that will be outputted if the condition is false. The type of the object can be anything.
Outputs
Section titled “Outputs” Result
Section titled “ Result ” Type: Object
Default: null
The output of the switch node. The value will be taken from the "On True" input if the condition is true, and from the "On False" input if the condition is false.
All of our content is carefully written by hand, no AI was involved during the process.