This category contains all of the Counter-Strike 2 console commands that can be used to edit and optimize your heads-up display (HUD), such as changing its color or size.
How to Use CS:GO & CS2 Commands
First, turn on the developer console. Go to Settings > Game Settings and switch "Enable Developer Console" to Yes.
Press the ` or ~ key on your keyboard to open the console.
Type in a command, or copy it from here, hit ENTER, and you’re good to go!
Adjusts the distance from the crosshair where the ping marker fully fades out, controlling ping visibility based on how far it is from your focus point.