# How to set the number of repetitions of a loop region?

**URL:** <https://qa.fmod.com/t/how-to-set-the-number-of-repetitions-of-a-loop-region/17375>\
**Category:** FMOD Studio\
**Created:** [June 22, 2021, 3:21pm UTC](https://qa.fmod.com/t/how-to-set-the-number-of-repetitions-of-a-loop-region/17375 "2021-06-22T15:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigo.boechat](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rodrigo.boechat](https://qa.fmod.com/u/rodrigo.boechat)\
**Post date:** [June 22, 2021, 3:21pm UTC](https://qa.fmod.com/t/how-to-set-the-number-of-repetitions-of-a-loop-region/17375/1 "2021-06-22T15:21:57Z")

</div>

Hi guys,

I need a loop region to be turned off after three repetitions, does anyone know if it’s possible?

In the example below, the region between destination marker B and C needs to be repeated only three times and then proceed to destination marker C.

Thanks!

 ![exemplo fmod](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/3c0868d2931dbe47bccefe4e2495b8cfee3d33ca.jpeg)

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [June 22, 2021, 4:28pm UTC](https://qa.fmod.com/t/how-to-set-the-number-of-repetitions-of-a-loop-region/17375/2 "2021-06-22T16:28:09Z")

</div>

Hi, it’s possible to use a command instrument that will increment a parameter, and add a condition on the loop to end when the parameter reachs the appropriate value.
