Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details (simply hover over a command to view).
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!
Controls whether lag-compensated hitboxes are displayed, helping you see where shots register on players. Useful for lag-related debugging and can be shown on the server, client, or both.
Use this command to display bullet impacts in the game. Impacts appear as colored squares where your bullets hit objects like players or walls. Choose from options to show client-side and/or server-side impacts.
Enable this command to display detailed information like damage and bullet travel distance at impact points when sv_showimpacts is active. Off by default.
Toggle collision visualization between the player and the map's geometry. Useful for map creators and players who want to see how movement interacts with the environment.