Condition Node
The condition node allows for branching of the editor flow by stating a condition. If the condition is met, the flow will continue with the True-socket and if it isn’t met, it will continue with the False-socket. You can write a variable name or a literal value in either of the input fields, and the condition will translate to either true or false.
Condition Node | |
---|---|
Variable | The name of your variable in plain text. |
Operator | The operator that will compare your variable with your value. |
Value | The value that you want to compare with your variable. |
Operators
Operators | Description |
---|---|
Is true | If the value is true. Note that it needs to be a boolean. The string "true" will for example evaluate to false |
Is false | If the value is false. Everything that is not true. |
Is equal to | if the variable IS the same as the value |
Is not equal to | if the variable IS NOT the same as the value |
Is greater than | if the variable is HIGHER than the value |
Is less than | if the variable is LOWER than the value |
Is greater than or equal to | if the variable is HIGHER OR the SAME as the value |
Is less than or requal to | if the variable is LOWER OR the SAME as the value |
Value
The value can be a plain value such as 231
or "attack"
. It is also possible to use variables and expressions in the
value field.
Make sure to have a whitespace between variables and operators: