Mute Audio When Paused

Hello,

I have an audio that plays when interacting with an object in my game. The audio is a dialogue between two people. When I pause the game by pressing the ‘Gamepad Special Right’ button the level audio doesn’t play but the audio that plays when interacting with said object still does.

I’m wanting to pause that audio too but I’m not sure how to do that.

Can someone shed some light on how I’d do so?

Thank You.

The sound should automatically stop playing on Game Pause unless it is a 2D sound in which case it will continue to play even if the game is paused. Use Spawn Sound at Location or Play Sound at Location. Also make sure that the sound class assigned to the audio has Is UISound unticked.

1 Like

Hello,

That worked for me. Thank you so much. You’re awesome!