Logic & Comparison

Select

Picks one of two values depending on a condition.

condition
if true
if false
Select
result
Node image coming soon

Usage

An inline ternary. Reach for it whenever you only need to choose a value — it keeps the graph flat, where an If node would fork it. Use If only when the two cases have to run different statements. Both branches must be the same type.

Inputs

TypeNameDescription
boolcondition Which branch to take.
anyif true Returned when the condition holds.
anyif false Returned otherwise. Same type as “if true”.

Outputs

TypeNameDescription
anyresult The chosen value.