The "If/Else" Node
Switches between node tree branches depending on a condition.
IMPORTANT
Note that when using this node all three branches (left of the value and condition, right of the if, and right of the else) must be completely separate and not interconnected. The editor will mark connections that violate this as invalid (marked red).
If/Else
- If
- Else
- Condition
- Value
Inputs
- Condition − What branch to pick. Executes the nodes right of
Ifwhentrueor truthy, otherwise the nodes
right ofElse. - Value − The value to pass onto the selected branch.
Outputs
- If − The given
Value. Connect nodes here to execute whenConditionistrueor truthy. - Else − The given
Value. Connect nodes here to execute whenConditionisfalseor falsy.

