Skip to content

Do IF

91

The Do IF node acts as a conditional gate for action signals. It will only pass an incoming event through to its output if the associated boolean value is currently true.

When to use this node: * Confirmation Buttons: A "Confirm Code" button that only triggers the "Open Door" action if the keypad's isCorrect boolean is already true. * Gameplay Restrictions: Blocking certain actions (like firing a laser) until the players have successfully "Powered Up" the system. * Step-by-Step Gating: Ensuring a puzzle's reset button only works if the puzzle hasn't already been completed.

Connectors in

  • event [type: action]
  • value [type: bool]

Connectors out

  • event [type: action]