CS2 Mouse Commands

Below is a searchable list of all mouse console commands from Counter-Strike: Global Offensive. This category contains all of the console commands that adjust how your mouse works in Counter-Strike 2, such as changing the sensitivity or turning mouse acceleration on or off.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help

Change Sensitivity Command

You can change your sensitivity with the sensitivity command. This command accepts a number as a parameter, which is set as your sensitivity levels. Higher numbers are more sensitive (faster) than lower numbers. Replace NUMBER with your desired sensitivity in the below command and type it into your console to apply:

sensitivity NUMBER

This command would set your sensitivity to 1:

sensitivity 1

And this console command would set your sensitivity to 0.5 (which is considerably low):

sensitivity 0.5

Raw Input Command

In CS2, the default setting is to use your mouse's raw input data; raw_input is enabled by default. There is no way to turn m_rawinput off as the command has been removed.

In CS:GO, the m_rawinput command could turn on and off raw input from your mouse. With raw input on, your operating system (e.g. Windows) settings like mouse acceleration, etc would be completely ignored, which allowed all of CS:GO's settings to have full effect. To enable raw input, type this into your console:

m_rawinput 1

You can disable raw input with this command:

m_rawinput 0

Invert Mouse Command

To invert your mouse in CS2, you have to invert the m_yaw and m_pitch values. You can do this by copying and pasting the following command into your developer console:

m_pitch -0.022; m_yaw -0.022

To return your mouse direction back to normal, use the following command:

m_pitch 0.022; m_yaw 0.022
IPS

Commands List

cl_mouselook <0 / 1>

This console command controls how you look around in game. You can set it between your mouse (default) or your keyboard.

Name Description
0 / 1

Set to 1 to use your mouse to look around, and 0 to use your keyboard. 1 is the default value for this command. This command cannot be adjusted while connected to a server, so you'll need to be on the main menu to use it.

Examples, Generator & More
m_pitch <Y Sensitivity>

This command controls the sensitivity of your Y axis . That means it only adjusts your look sensitivity when looking up or down.

Name Description
Y Sensitivity

The sensitivity you want to set to your Y axis (up/down). The default value for this command is 0.022. To balance your sens on all angles, you need to use the m_yaw command that controls your X axis sensitivity.

Examples, Generator & More
m_yaw <X Sensitivity>

This console command is used to adjust your mouse sensitivity only on the X axis , which is looking left/right.

Name Description
X Sensitivity

This is the sensitivity value you want to use on the X axis. This will only change how fast you move around when looking left or right. The default value for this command is 0.022. To balance the two values, you'll need to use the m_pitch command that controls the Y axis.

Examples, Generator & More
sensitivity <Sensitivity>

This command sets your mouse sensitivity to the specified value.

Name Description
Sensitivity

Your desired mouse sensitivity - e.g. 1 or 1.25.

Examples, Generator & More
cl_radialmenu_deadzone_size <Deadzone Size>

Adjusts the size of the deadzone for the radial menu, affecting how much you need to move your mouse or joystick before the radial menu begins to change selections.

Name Description
Deadzone Size

The size of the deadzone for the radial menu.

Examples, Generator & More
mouse_inverty <0 / 1>

Inverts the Y-axis of the mouse movement. When enabled, moving the mouse forward will aim down, and moving it backward will aim up.

Name Description
0 / 1

Sets the Y-axis inversion state.

Examples, Generator & More
zoom_sensitivity_ratio <Sensitivity scale>

Modifies the player's mouse sensitivity when the player is zoomed in with a sniper rifle or scoped weapon. The default value is 1, which means no change.

Name Description
Sensitivity scale

The sensitivity scale factor to be applied when zoomed in.

Examples, Generator & More