> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/over-visual-scripting-legacy/nodes/flow/loops/loop.md).

# Loop

### Description

This [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) allows the implementation of for-loops.

This is a Flow Node, in which the flow is divided into two branches, represented by two output flow ports.&#x20;

The `Count` parameter is used to define how many iterations this Node should execute its `Body`. Inside the body resides all the logic of the loop, described as a collection of joined Nodes.

In order to keep track of the progression of the loop, `Current Step` keeps track of the current step of the loop.

Once the loop has finished its computation, the main branch (upper right port) is resumed.

<figure><img src="/files/c7mhDBZfMw2Q5pKuibfe" alt=""><figcaption></figcaption></figure>
