Skip to main content

Flip Flop

flip flop

Use Flip-Flop to switch between two execution outputs. When this node is triggered for the first time, output A is executed. When it is triggered for the second time, output B is executed. For the third time, output A, and so on. Flip-Flop is in the Control category.

Input

NameData TypeDescription
EnterExecThe input execution that triggers this node.

Output

NameData TypeDescription
AExecExecute the next node when Is A is true.
AExecExecute the next node when Is A is false.
Is ABooleanThe condition that is flipped every time this node is triggered.

Example

flip flop example

This example uses the Flip Flop node to toggle the color of the cube in the center of the screen every time the user opens their mouth.

flip flop node