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

Counter

Use Counter to increase or decrease the count by set step when executed. Counter is in the Utility category.

Input

NameData typeDescription
IncreaseExecAdd step value to the count sum
DecreaseExecDeduct step value from the count sum
ResetExecReset the counter to its “from” value
StepNumberStep value to increase or decrease
FromNumberStart value of the count
ToNumberEnd value of the count

Output

NameData typeDescription
ExitExecExecute the next node
CurrentNumberCurrent output number

Example

In this example, we are using Counter to incrementally increase the z coordinate of the sphere when the finger heart gesture is detected. The sphere moves slower and then faster in the preview as the step of the increment changes according to the absolute value of the sphere’s z coordinate itself.