# Mute FMOD sounds when UE4 is out of focus (alt+tab)

**URL:** <https://qa.fmod.com/t/mute-fmod-sounds-when-ue4-is-out-of-focus-alt-tab/18487>\
**Category:** Unreal Engine\
**Tags:** ue4, cpp\
**Created:** [March 8, 2022, 12:24pm UTC](https://qa.fmod.com/t/mute-fmod-sounds-when-ue4-is-out-of-focus-alt-tab/18487 "2022-03-08T12:24:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BocaSecaSound](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@BocaSecaSound](https://qa.fmod.com/u/BocaSecaSound)\
**Post date:** [March 8, 2022, 12:24pm UTC](https://qa.fmod.com/t/mute-fmod-sounds-when-ue4-is-out-of-focus-alt-tab/18487/1 "2022-03-08T12:24:40Z")

</div>

Hi there, I am having problems to mute all the FMOD sounds when the game is not on focus (when I press alt+tab).

I know there is an Engine variable called “UnfocusedVolumeMultiplier” that I should put to 0.0, but this one does not work with FMOD sounds, can some one help me please?

Thank you very much and I hope you have a nice day.

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [March 11, 2022, 5:51am UTC](https://qa.fmod.com/t/mute-fmod-sounds-when-ue4-is-out-of-focus-alt-tab/18487/2 "2022-03-11T05:51:29Z")

</div>

Unfortunately we don’t have any way of handling this automatically, but you can set a callback [OnApplicationActivationStateChanged](https://forums.unrealengine.com/t/application-lost-focus-event/318146/8) and mute the master channel group in there.
