Compare two values and output one value (Then) if the condition is met and another value (Else) if it isn’t.

Properties:
You can select which test to perform on the two values directly on the node. Options are :
=: If the two values are equal, the condition is met.<=: If Value 1 is lesser or equal to Value 2, the condition is met.>=: If Value 1 is greater or equal to Value 2, the condition is met.<: If Value 1 is lesser than Value 2, the condition is met.>: If Value 1 is greater than Value 2, the condition is met.!=: If the two values are different, the condition is met.
Float 1: Set the first value to compare.
Default : 0.0
Float 2: Set the second value to compare.
Default : 0.0
Then: Set a value to output if condition is met.
Default : 0.0
Else: Set a value to output if condition is not met.
Default : 0.0
Inputs:
| Name | Type | Description |
|---|---|---|
| Float1 | Float | First value to compare |
| Float2 | Float | Second value to compare |
| Then | Variant | Value to output if the condition is met. See list below for available types |
| Else | Variant | Value to output if the condition is not met. See list above for available types |
Outputs:
| Name | Type | Description |
|---|---|---|
| Value | Variant | Outputs either Then or Else |
Example
Need more help with this?
Don’t hesitate to contact us here.



