# Playing an event that selects a random sound

**URL:** <https://qa.fmod.com/t/playing-an-event-that-selects-a-random-sound/21199>\
**Category:** FMOD Studio\
**Tags:** unity\
**Created:** [February 4, 2024, 12:27am UTC](https://qa.fmod.com/t/playing-an-event-that-selects-a-random-sound/21199 "2024-02-04T00:27:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luaisalah](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@luaisalah](https://qa.fmod.com/u/luaisalah)\
**Post date:** [February 4, 2024, 12:27am UTC](https://qa.fmod.com/t/playing-an-event-that-selects-a-random-sound/21199/1 "2024-02-04T00:27:57Z")

</div>

I have multiple SFX samples for an event I wanted to know a way to select a random track and play it part of the event in FMOD studio

---

<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:** [February 5, 2024, 3:19am UTC](https://qa.fmod.com/t/playing-an-event-that-selects-a-random-sound/21199/2 "2024-02-05T03:19:39Z")

</div>

The tool for this is the multi instrument.

A multi instrument is a type of instrument with a playlist of other instruments. When triggered, it selects one of the instruments in its playlist to play. The method by which it decides which playlist entry to play depends on its playlist entry selection mode; by default, a multi instrument’s playlist selection mode is “shuffle,” meaning that it will select an entry at random but will avoid playing any entry too frequently or more than once in succession.

---

<div class="post-metadata">

**Author:** ![luaisalah](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@luaisalah](https://qa.fmod.com/u/luaisalah)\
**Post date:** [February 5, 2024, 3:24am UTC](https://qa.fmod.com/t/playing-an-event-that-selects-a-random-sound/21199/3 "2024-02-05T03:24:59Z")

</div>

Yeah I figured it out thanks!
