Viewmodel & HUD Commands
See also: CS2 tools, guides, skins database, cases, weapon stats, pro player settings, map callouts, console commands.
Adjust your weapon viewmodel position and HUD display settings. See the full CS2 console command list, or build a config with the autoexec generator, bind generator and practice config generator.
All Viewmodel & HUD Commands (26)
viewmodel_fovViewmodel field of view (54-68)
viewmodel_offset_xViewmodel horizontal offset (-2.5 to 2.5)
viewmodel_offset_yViewmodel depth offset (-2 to 2)
viewmodel_offset_zViewmodel vertical offset (-2 to 2)
viewmodel_presetposViewmodel preset (1=desktop, 2=couch, 3=classic)
switchhandsToggle the weapon between right and left hand (also bound to H by default)
cl_prefer_lefthandedHold weapons left-handed (true) or right-handed (false) — the CS2 replacement for cl_righthand
cl_bobamt_latWeapon bob amount — lateral movement
cl_bobamt_vertWeapon bob amount — vertical movement
cl_bob_lower_amtHow much the viewmodel lowers when running
cl_bobcycleBob cycle speed
cl_usenewbobUse the newer weapon bob animation — set false to revert to the flatter classic bob (the main "screen shake" fix)
cl_showfpsShow FPS counter (0=off, 1=FPS, 2=FPS+frametime)
cl_showposShow position, velocity, and angles on screen
cq_netgraphNot a CS2 command — no such convar exists. For a live network readout use the Telemetry section under Settings → Game
cl_drawhudToggle the entire HUD on or off
cl_draw_only_deathnoticesOnly show kill feed — hide rest of HUD
hud_scalingHUD scale size (0.5-0.95)
cl_hud_colorHUD accent color (0-10: default, white, blue, purple, green, etc.)
cl_hud_background_alphaHUD background transparency (0.0-1.0)
cl_hud_healthammo_styleHealth/ammo HUD style (0=default, 1=simple)
cl_hud_playercount_showcountShow player count as number (1) or avatars (0)
cl_hud_playercount_posPlayer count position (0=top, 1=bottom)
cl_showloadoutAlways show weapon loadout panel (0=auto-hide, 1=always)
safezonexHorizontal HUD safe zone (0.85-1.0)
safezoneyVertical HUD safe zone (0.85-1.0)
Other Command Categories
Frequently Asked Questions
- How many viewmodel & hud commands are there in CS2?
- There are 26 viewmodel & hud commands in CS2. 24 can be used in any game mode, and 2 require sv_cheats 1.
- Which viewmodel & hud commands require sv_cheats?
- 2 of the 26 viewmodel & hud 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 viewmodel & hud 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.