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!
Adds the specified entity or entities to a list that shows debug text above them in-game. This helps developers and mapmakers debug and test game features visually.
Clears the list of entities that currently display debug text above them. This helps developers and map makers reset which entities show debugging info.
Turns on or off the wireframe of an entity's interpolated vcollide model. This helps debug collision detection and understand how collisions are calculated. Requires a cheat-enabled server.