# How to: play intro once, then magnet regions

**URL:** <https://qa.fmod.com/t/how-to-play-intro-once-then-magnet-regions/20721>\
**Category:** FMOD Studio\
**Created:** [October 1, 2023, 3:40pm UTC](https://qa.fmod.com/t/how-to-play-intro-once-then-magnet-regions/20721 "2023-10-01T15:40:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pietrosammarco](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@pietrosammarco](https://qa.fmod.com/u/pietrosammarco)\
**Post date:** [October 1, 2023, 3:40pm UTC](https://qa.fmod.com/t/how-to-play-intro-once-then-magnet-regions/20721/1 "2023-10-01T15:40:00Z")

</div>

Hi! Hoping someone can help me with magnet regions (maybe I should be using them in my case).

This is a bit tedious to describe, so thank you for following along.

In brief: I want an intro bit of music to play only once, then I want the play head to move to any active magnet region.

Details:  
I have a piece of music with 4 parts – Intro, Part A, B, and C. The intro should always play once, only at game start. After the intro, it should go to Part A and loop it until a certain threshold is crossed–at which point the music should go to Part B; and when the next threshold is crossed, move to Part C. And at any point, regress to an earlier part.

My current attempt: I have a “labeled” parameter named Progress, one label for each part (low\_weight, med\_weight, high\_weight, which correspond to A, B, and C respectively). And each part (A, B, C) has a magnet region around it. The idea is that the code will call A, B, or C, depending on the game’s progress/regress.

The problem though is that at game start I can’t get the intro to play because the first magnet region attract the play head – so then I create an extra label in the Progress parameter, called Intro, and set it to the default value. At the end of the intro, the play head moves into the A section. But after playing the A section once, it doesn’t loop A–which is expected because the parameter is still set to Intro.

So the **parameter needs to be changed to label A after the Intro is played once**. My question is: What’s the best way to do this?

Of course, I may be approaching this incorrectly from the beginning, so if there’s a better way to do this, please enlighten this noob!

Here are screenshots to help describe my current state:

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

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

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [October 4, 2023, 3:54am UTC](https://qa.fmod.com/t/how-to-play-intro-once-then-magnet-regions/20721/2 "2023-10-04T03:54:43Z")

</div>

> [@pietrosammarco](#):
>
> So the **parameter needs to be changed to label A after the Intro is played once**. My question is: What’s the best way to do this?

The easiest option would probably be to add a “set parameter” command instrument to your event, right at the end of your intro section, and use it to set the value of the parameter that controls the event.
