# How to set 3D sound mute?

**URL:** <https://qa.fmod.com/t/how-to-set-3d-sound-mute/11748>\
**Category:** Unity\
**Created:** [December 3, 2014, 6:40am UTC](https://qa.fmod.com/t/how-to-set-3d-sound-mute/11748 "2014-12-03T06:40:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zteng](https://avatars.discourse-cdn.com/v4/letter/z/7993a0/32.png) [@zteng](https://qa.fmod.com/u/zteng)\
**Post date:** [December 3, 2014, 6:40am UTC](https://qa.fmod.com/t/how-to-set-3d-sound-mute/11748/1 "2014-12-03T06:40:19Z")

</div>

Hi,all.I had a problem when I am using fmod in Unity.I want to set 3D sound mute,so I do that:  
FMOD.Studio.EventInstance event = FMOD\_StudioSystem.instance.GetEvent(path);  
event.setVolume(0f);  
but the sound is not mute;so I want to know whether I can do that.  
I’m looking forward to answering this question ,thank you.

---

<div class="post-metadata">

**Author:** ![nick1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nick1](https://qa.fmod.com/u/nick1)\
**Post date:** [December 3, 2014, 11:00pm UTC](https://qa.fmod.com/t/how-to-set-3d-sound-mute/11748/2 "2014-12-03T23:00:22Z")

</div>

FMOD\_StudioSystem.instance.GetEvent() returns a new instance of the event.

You need to call setVolume() on the previous instance.

---

<div class="post-metadata">

**Author:** ![zteng](https://avatars.discourse-cdn.com/v4/letter/z/7993a0/32.png) [@zteng](https://qa.fmod.com/u/zteng)\
**Post date:** [December 4, 2014, 1:23am UTC](https://qa.fmod.com/t/how-to-set-3d-sound-mute/11748/3 "2014-12-04T01:23:31Z")

</div>

> [@](#):
>
> FMOD\_StudioSystem.instance.GetEvent() returns a new instance of the event.
> 
> You need to call setVolume() on the previous instance.

Thank you and answer my question, Yes,I’m coding according to your example:  
engine = FMOD\_StudioSystem.instance.getEvent(“event:/Vehicles/Car Engine”); engine.start();  
engine.stop();  
I can control the event start and stop,but I can not control the event volume,if I want to set the Volume, what should I do?I can do it in 2d sound by using event.setVolume;but it is useless when I do it in 3d sound.Thank you.
