Control Flow

If

Runs one of two branches depending on a boolean condition.

In
condition
If
If true
If false
When finished
Node image coming soon

Usage

Exactly one of the first two outputs runs. The third runs afterwards either way, so put whatever follows the decision there rather than duplicating it at the end of both branches. If you only need to pick between two values, a Select node is simpler.

Inputs

TypeNameDescription
flowIn Runs the check.
boolcondition Decides which branch runs.

Outputs

TypeNameDescription
flowIf true Runs when the condition is true.
flowIf false Runs when the condition is false.
flowWhen finished Runs after either branch.