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
Name | Data Type | Description |
---|---|---|
Enter | Exec | The input execution that triggers this node. |
Output
Name | Data Type | Description |
---|---|---|
A | Exec | Execute the next node when Is A is true. |
A | Exec | Execute the next node when Is A is false. |
Is A | Boolean | The condition that is flipped every time this node is triggered. |
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.
