Use Counter to increase or decrease the count by set step when executed. Counter is in the Utility category.
|Add step value to the count sum.
|Deduct step value from the count sum.
|Reset the counter to its From value.
|Step value to increase or decrease.
|Start value of the count.
|End value of the count.
|Execute the next node.
|Current output number.
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.