snd_mute_losefocus Command Details
1 Syntax
snd_mute_losefocus 1 How to Use
Open the developer console by pressing the tilde key ~. If it does not open, enable it in Settings → Game → Enable Developer Console. See our Config Guide for full setup instructions.
Type snd_mute_losefocus 1 into the console and press Enter.
Mute audio when CS2 is not the active window. This command works in all game modes including competitive. The default value is 1.
Frequently Asked Questions
What does snd_mute_losefocus do in CS2?
Mute audio when CS2 is not the active window
What is the default value for snd_mute_losefocus?
The default value for snd_mute_losefocus is 1. You can reset it to this value at any time by typing "snd_mute_losefocus 1" in the console.
Does snd_mute_losefocus require sv_cheats?
No, snd_mute_losefocus does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
Can I use snd_mute_losefocus in competitive?
Yes, snd_mute_losefocus works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.