👁️

Viewmodel & HUD Commands

Adjust your weapon viewmodel position and HUD display settings.

24 commands 22 multiplayer safe 2 require sv_cheats

All Viewmodel & HUD Commands (24)

viewmodel_fov

Viewmodel field of view (54-68)

Default: 60
viewmodel_offset_x

Viewmodel horizontal offset (-2.5 to 2.5)

Default: 2.5
viewmodel_offset_y

Viewmodel depth offset (-2 to 2)

Default: 0
viewmodel_offset_z

Viewmodel vertical offset (-2 to 2)

Default: -1.5
viewmodel_presetpos

Viewmodel preset (1=desktop, 2=couch, 3=classic)

Default: 1
cl_righthand

Right-hand (1) or left-hand (0) weapon model

Default: 1
cl_bobamt_lat

Weapon bob amount — lateral movement

Default: 0.4
cl_bobamt_vert

Weapon bob amount — vertical movement

Default: 0.25
cl_bob_lower_amt

How much the viewmodel lowers when running

Default: 21
cl_bobcycle

Bob cycle speed

Default: 0.98
cl_showfps

Show FPS counter (0=off, 1=FPS, 2=FPS+frametime)

Default: 0
cl_showpos

Show position, velocity, and angles on screen

Default: 0
cq_netgraph

Show network graph with ping, loss, and tick info

Default: 0
cl_drawhud

Toggle the entire HUD on or off

Default: 1 sv_cheats
cl_draw_only_deathnotices

Only show kill feed — hide rest of HUD

Default: 0 sv_cheats
hud_scaling

HUD scale size (0.5-0.95)

Default: 0.85
cl_hud_color

HUD accent color (0-10: default, white, blue, purple, green, etc.)

Default: 0
cl_hud_background_alpha

HUD background transparency (0.0-1.0)

Default: 0.5
cl_hud_healthammo_style

Health/ammo HUD style (0=default, 1=simple)

Default: 0
cl_hud_playercount_showcount

Show player count as number (1) or avatars (0)

Default: 0
cl_hud_playercount_pos

Player count position (0=top, 1=bottom)

Default: 0
cl_showloadout

Always show weapon loadout panel (0=auto-hide, 1=always)

Default: 1
safezonex

Horizontal HUD safe zone (0.85-1.0)

Default: 1.0
safezoney

Vertical HUD safe zone (0.85-1.0)

Default: 1.0

Other Command Categories

Frequently Asked Questions

How many viewmodel & hud commands are there in CS2?
There are 24 viewmodel & hud commands in CS2. 22 can be used in any game mode, and 2 require sv_cheats 1.
Which viewmodel & hud commands require sv_cheats?
2 of the 24 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.

Explore CSDB.gg