# Make exclusive groups

**URL:** <https://qa.fmod.com/t/make-exclusive-groups/19657>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [December 19, 2022, 4:33am UTC](https://qa.fmod.com/t/make-exclusive-groups/19657 "2022-12-19T04:33:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjw](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jjw](https://qa.fmod.com/u/jjw)\
**Post date:** [December 19, 2022, 4:33am UTC](https://qa.fmod.com/t/make-exclusive-groups/19657/1 "2022-12-19T04:33:13Z")

</div>

Version : FMOD for Unity 2.02.07/ FMOD Studio 2.02.09 / Unity 2021.3.11f1

Hi. I’m trying to make so-called exclusive group for my game.

For example,

1. Make a group with BGM/A, Environment/B, SFX/C
2. Try to play SFX/C while another one is playing
3. Stop previous one and Play SFX/C

I checked API references, and found a tag function which sounds perfect for me. But it can’t be used in runtime.

So,

1. Is there any built-in function to achieve this ‘exclusive grouping’?
2. If not, I think a parameter is only way to make it. Is there any better way to acheive this?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [December 20, 2022, 6:26am UTC](https://qa.fmod.com/t/make-exclusive-groups/19657/2 "2022-12-20T06:26:30Z")

</div>

Hi,

Having a Unity FMOD integration that has a different minor version to FMOD Studio can have unexpected behavior. I would suggest updating your Unity integration version to match your FMOD Studio version.

There are a couple of ways you could go about this. Firstly using Snapshots ([FMOD Studio | Glossary](https://fmod.com/docs/2.02/studio/glossary.html#snapshot)). Snapshots will allow you to mute groups during runtime. Another option is pausing individual group buses via code, ([FMOD API | Studio API Reference](https://fmod.com/docs/2.02/api/studio-api-bus.html#studio_bus_setpaused)).

If you need any more information about either option please let me know!
