Skip to main content
Version: 3.9.0

Do N

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

do n example

This example uses our Face Morph template. Adding the Do N node enables your face movement to trigger the animation for a limited time. For example, here we set N=2 so your face movement will only trigger the animation twice.

do n node