Skip to main content
Version: 5.x

Nodes > Math > Relational > If / else

If / else

Returns the first Value where the matching Condition is true (not 0), or returns Default if all are 0.

Inputs

NameTypeDescription
Condition 1floatFirst condition to test
Value 1floatValue returned if Condition 1 is non-zero
DefaultfloatValue returned if all active Conditions are zero

Outputs

NameTypeDescription
ResultfloatValue returned

Properties

NameTypeDescription
CountdropdownNumber of Conditions to use
Was this page helpful?
Yes
No