viewmodel_offset_x Command Details
2.5 Syntax
viewmodel_offset_x 2.5 How to Use
Open the developer console by pressing the tilde key ~. If it does not open, enable it in Settings → Game → Enable Developer Console. See our Config Guide for full setup instructions.
Type viewmodel_offset_x 2.5 into the console and press Enter.
Viewmodel horizontal offset (-2.5 to 2.5). This command works in all game modes including competitive. The default value is 2.5.
Frequently Asked Questions
What does viewmodel_offset_x do in CS2?
Viewmodel horizontal offset (-2.5 to 2.5)
What is the default value for viewmodel_offset_x?
The default value for viewmodel_offset_x is 2.5. You can reset it to this value at any time by typing "viewmodel_offset_x 2.5" in the console.
Does viewmodel_offset_x require sv_cheats?
No, viewmodel_offset_x does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
Can I use viewmodel_offset_x in competitive?
Yes, viewmodel_offset_x works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.