> 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/while.md).

# While

### Description

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

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

The `Condition` parameter describes the validity of the condition necessary for the loop to function. While this condition is `True`, `Body` will be executed. Inside the body resides all the logic of the loop, described as a collection of joined Nodes.

Once the condition is `False`, the main branch (upper right port) is resumed, and the loop finishes its computation.

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