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.
|Enter||Exec||The input execution that triggers this node|
|A||Exec||Execute the next node when “Is A” is true|
|B||Exec||Execute the next node when “Is A” is false|
|Is A||Boolean||The condition flipping every time this node is triggered|
In this example, we use the flip-flop node to toggle the color of the cube in the center of the screen every time the user opens the mouth.