> For the complete documentation index, see [llms.txt](https://documentation.botghost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.botghost.com/custom-commands-and-events/actions/loop-actions.md).

# Loop Actions

The command builder offers multiple loop actions. They allow you to start and stop actions from repeating for a set number of times. Below you may find some general information about each block. Click on its name for more information.

<table><thead><tr><th data-type="content-ref">Block</th><th>Information</th></tr></thead><tbody><tr><td><a href="/pages/DpSVk6MeWWDptU9dqhXp">/pages/DpSVk6MeWWDptU9dqhXp</a></td><td>The run a loop action allows you to trigger actions that will repeat for a set number of times.</td></tr><tr><td><a href="/pages/hUGq6b1rSrRnBiEd24eN">/pages/hUGq6b1rSrRnBiEd24eN</a></td><td>The stop a loop action allows you to break out of any active loops within the command or event, and trigger blocks that fall under the "After loop" section.</td></tr></tbody></table>
