Skip to main content
Version: 3.8.0



Use If to pass in a value based on a condition. If is in the Control category.


NameData TypeDescription
EnterTriggerThe input execution that triggers this node.
ConditionBooleanA boolean value that determines which output execution to be taken. Select it to pass the true value only.


NameData TypeDescription
TrueTriggerExecute the next node if the condition is true.
FalseTriggerExecute the next node if the condition is false.


if example

This example gets the sphere’s position in realtime. If the x-axis is greater than 0, then the sphere will turn red. If the x-axis is less than 0, it will turn green.

if node