Skip to main content

Conditional Value

Returns one of two values depending on a boolean condition. Plug an Evaluate Condition output into the condition handle.

The Conditional Value node outputs one of two values depending on whether a condition is true or false. Provide the condition, a value for the true case and a value for the false case, and the node forwards the matching one.

Conditional Value
Condition*Text
Value If TrueText
Value If FalseText
Fields marked * are required. Dots are connection handles.

Inputs

Each input can be typed in directly or connected to another node's output.

InputTypeRequiredDescription
ConditionTextRequiredA boolean condition — "true" selects the first value, anything else selects the second.
Value If TrueTextOptionalReturned when the condition is "true".
Value If FalseTextOptionalReturned when the condition is not "true".

Output

Type: Text (text)