m_yaw

Mouse

Horizontal mouse speed factor. Multiplies horizontal mouse movement. The default 0.022 matches vertical speed. Players who play 4:3 stretched sometimes lower it to compensate for the wider image, but most keep the default.

m_yaw 0.022

Syntax

m_yaw <value> · Default value: 0.022

Examples

m_yaw 0.022

How to use m_yaw in CS2

  1. Enable the developer console in Settings › Game › Enable Developer Console.
  2. Press ~ to open the console, type the command and press Enter.
  3. To apply it every time you launch CS2, add the line to an autoexec.cfg file in your cfg folder.

Related commands

Learn more

m_yaw FAQ

What does m_yaw do in CS2?

Horizontal mouse speed factor. Multiplies horizontal mouse movement. The default 0.022 matches vertical speed. Players who play 4:3 stretched sometimes lower it to compensate for the wider image, but most keep the default.

What is the default value of m_yaw?

The default value of m_yaw in CS2 is 0.022.

Does m_yaw need sv_cheats?

No. m_yaw works without sv_cheats, including in official matchmaking.

All CS2 console commands ›