# Getting a character sound to play at random intervals in 2D Game

**URL:** <https://qa.fmod.com/t/getting-a-character-sound-to-play-at-random-intervals-in-2d-game/16245>\
**Category:** Unity\
**Tags:** unity\
**Created:** [September 30, 2020, 11:25pm UTC](https://qa.fmod.com/t/getting-a-character-sound-to-play-at-random-intervals-in-2d-game/16245 "2020-09-30T23:25:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daminoff](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@daminoff](https://qa.fmod.com/u/daminoff)\
**Post date:** [September 30, 2020, 11:25pm UTC](https://qa.fmod.com/t/getting-a-character-sound-to-play-at-random-intervals-in-2d-game/16245/1 "2020-09-30T23:25:01Z")

</div>

I’m involved in a project making a 2D game and am quite new to FMOD and Unity. I was wondering how to have a character make a sound at random intervals ? I know how to do random sounds from a multi instrument but am trying to use the scatter instrument also for random intervals between each sound but cannot figure it out.

Thanks!

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [October 6, 2020, 6:17am UTC](https://qa.fmod.com/t/getting-a-character-sound-to-play-at-random-intervals-in-2d-game/16245/2 "2020-10-06T06:17:58Z")

</div>

You can use a scatterer instrument by setting the polyphony as 1 and adjusting the interval as needed. If you need sound to be 2D, you can make the min & max scatter distance setting 0-0. It should look like this:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b7eade00655bc594089ae7fd8af4291e0c864420.png)
