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

Do N

Use Do N to execute this node multiple times until it is reset. Do N is in the Control category.

Input

NameData typeDescription
EnterExecThe input execution that triggers this node
ResetExecReset this node so that it can be executed again
NNumberThe number of times you want to execute this node

Output

NameData typeDescription
NextExecExecute the next node
CounterNumberThe current execution times out of the N, starting from 1

Example

This example is using our Face Morph template. Adding Do N node can make the animation triggered by your face movement with limited time. For example, here we set N=2 so the face movement can only trigger the animation twice.