> For the complete documentation index, see [llms.txt](https://codalin.gitbook.io/nodalin-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codalin.gitbook.io/nodalin-docs/nodes-reference/streams/counter.md).

# Counter

<table data-header-hidden><thead><tr><th width="88.31103515625"></th><th></th></tr></thead><tbody><tr><td><img src="https://937151318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F44MuVIHBk5o5yfcGn64w%2Fuploads%2F8gjPPeOjjx7MEF0hNEMQ%2Fimage.png?alt=media&amp;token=b44b1da6-6ad7-4dac-9f3f-3d40764d953d" alt="" data-size="original"></td><td>Increments continuously by a specified value each frame. Useful for creating constant rotations, color hue cycles, or streams of numbers. Outputs a value of the datatype <code>number</code>. </td></tr></tbody></table>

<table><thead><tr><th width="154.8828125">Property name</th><th width="404.76953125">Description</th><th>Compatible datatype</th></tr></thead><tbody><tr><td>increment</td><td>Increment</td><td>number</td></tr><tr><td>limit</td><td>Upper limit - when reached, counter resets to 0. Set to 0 for no limit.</td><td>number</td></tr></tbody></table>

{% hint style="info" %}
Use a negative number for `increment` to create a continuous decreasing value.
{% endhint %}

### Example Projects

[**Glitchgain**](https://app.nodalin.xyz/project/9cac8f87-51c2-4ccf-afe7-01ab207bc6ac)\
A simple project utilising a few Effect node, with the last one on the chain being a Chromatic node. The direction angle of the Chromatic is constantly increased by a Counter node.

[**Voxel Voidin**](https://app.nodalin.xyz/project/d3a82798-2e81-46c9-a5af-d23dd1bb227a)\
A simple demonstration on how you can use a couple of Wave node to create a perfect cyclic motion. A single Counter node is connected as stream to both Wave nodes assuring the are in perfect sync.
