Skip to main content
TikTok Effect House Platform Logo
Latest
Download
Log in
Control

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
BExecExecute the next node when “Is A” is false
Is ABooleanThe condition flipping every time this node is triggered

Example

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.