Demo & Recording Commands
See also: CS2 tools, guides, skins database, cases, weapon stats, pro player settings, map callouts, console commands.
Record and playback demos for review or content creation. See the full CS2 console command list, or build a config with the autoexec generator, bind generator and practice config generator.
All Demo & Recording Commands (15)
recordStart recording a demo (e.g. record mydemo)
stopStop recording the current demo
playdemoPlay back a recorded demo file
demouiOpen the demo playback control UI
demo_pausePause demo playback
demo_resumeResume demo playback
demo_timescaleDemo playback speed multiplier (0.25=quarter, 2=double)
demo_gotoSkip to a specific tick number in the demo
spec_show_xrayToggle X-ray outline view in spectate/demo
cl_draw_only_deathnoticesOnly show kill feed — hide HUD (for movie making)
cl_drawhudHide entire HUD for clean screenshots/recordings
sv_skynameChange the skybox texture (for cinematic shots)
fog_overrideOverride fog settings (1=enable custom fog)
fog_enableEnable or disable fog (0=off, 1=on)
screenshotFlagged developmentonly in CS2 — unavailable in a retail client. Use F12 (Steam overlay) instead
Other Command Categories
Frequently Asked Questions
- How many demo & recording commands are there in CS2?
- There are 15 demo & recording commands in CS2. 10 can be used in any game mode, and 5 require sv_cheats 1.
- Which demo & recording commands require sv_cheats?
- 5 of the 15 demo & recording commands require sv_cheats 1. These are only usable in private servers or offline practice mode and are blocked in competitive matchmaking.
- How do I use demo & recording commands in CS2?
- Open the developer console by pressing the tilde key (~). If it does not open, enable it in Settings > Game > Enable Developer Console. Then type the command and press Enter. You can add these commands to your autoexec.cfg for them to run automatically on launch.
- How do I save console commands permanently?
- Create an autoexec.cfg file in your CS2 cfg folder (Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/) and add your commands there. End the file with host_writeconfig. These commands run automatically every time CS2 launches.