Skip to main content
Version: 4.0.0



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


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.


NameData TypeDescription
ExitExecExecute the next node.
CurrentNumberCurrent output number.


counter example

This example uses 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.

counter node