Skip to content

If

The If node is a control flow node that selects two values based on a boolean condition. If the condition is true, the first value is selected; it the condition if false, then the second value is selected.

Inputs and Outputs

Inputs:

  • Condition (Boolean):
  • Then (Any): The first value.
  • Else (Any): The second value.

Outputs:

  • Output (Boolean): The resulting value, which is equal to the Then input when Condition is true, or equal to the Else input when Condition is false.

Example