Nodes > Math > Relational > If / else

Returns the first Value where the matching Condition is true (not 0), or returns Default if all are 0.
Inputs
| Name | Type | Description |
|---|---|---|
| Condition 1 | float | First condition to test |
| Value 1 | float | Value returned if Condition 1 is non-zero |
| Default | float | Value returned if all active Conditions are zero |
Outputs
| Name | Type | Description |
|---|---|---|
| Result | float | Value returned |
Properties
| Name | Type | Description |
|---|---|---|
| Count | dropdown | Number of Conditions to use |
Was this page helpful?