# Play 3D sounds in 2D

**URL:** <https://qa.fmod.com/t/play-3d-sounds-in-2d/18871>\
**Category:** Unity\
**Created:** [June 10, 2022, 9:30am UTC](https://qa.fmod.com/t/play-3d-sounds-in-2d/18871 "2022-06-10T09:30:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bonfi96](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/bonfi96/32/3657_2.png) [@Bonfi96](https://qa.fmod.com/u/Bonfi96)\
**Post date:** [June 10, 2022, 9:30am UTC](https://qa.fmod.com/t/play-3d-sounds-in-2d/18871/1 "2022-06-10T09:30:01Z")

</div>

Hi, we’re currently in a situation where we need to play certain events, that are usually set up for 3D, in 2D.  
The closest thing I found to achieve this is the Mix knob in the spatializer’s pan override section.

We could expose a parameter to control that but maybe there’s a better solution?  
While there’s a way to set parameters, I’m unsure if there’s a way to set that mix value directly through the unity API at runtime.  
Or maybe there’s another way alltogether to achieve this result?

Thanks!

---

<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:** [June 15, 2022, 11:59pm UTC](https://qa.fmod.com/t/play-3d-sounds-in-2d/18871/2 "2022-06-15T23:59:37Z")

</div>

> [@Bonfi96](#):
>
> We could expose a parameter to control that but maybe there’s a better solution?  
> While there’s a way to set parameters, I’m unsure if there’s a way to set that mix value directly through the unity API at runtime.

Use a parameter. Parameters are the primary tool for sending instructions to a playing event instance, and should be your first port of call when you’re trying to make an event instance’s behavior depend on your game’s state.
