Input Commands

Below is a searchable list of all input console commands from Counter-Strike: Global Offensive. This category contains all commands that trigger an input action on your keyboard, mouse, or other device. For example, pressing a key on your keyboard.

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

Commands List

+alt1

This command activates the ALT1 (left ALT) key on your keyboard (the same as holding down the ALT key). Use -alt1 to deactivate.

Examples, Generator & More
+alt2

This command activates the ALT2 (right ALT) key on your keyboard (the same as holding down the ALT key). Use -alt2 to deactivate.

Examples, Generator & More
+attack

This console command causes you to attack repeatedly. Use the command -attack to stop this. If you have a gun equipped while using this command it will make you fire until you need to reload.

Examples, Generator & More
+attack2

This command will activate your secondary attack repeatedly. To stop this, use the -attack2 command. For example, this command makes you scope in with an AWP, or stab if you have your knife out.

Examples, Generator & More
+back

This command will make your character move backwards continuously. Type -back into your console to disable this.

Examples, Generator & More
+duck

This movement console command will make your character crouch, similarly to how holding the left CTRL key on a keyboard works. -duck will make you stand up again.

Examples, Generator & More
+forward

This movement command makes your character move forward infinitely. Use -forward to disable this.

Examples, Generator & More
+jlook

This console command allows you to use a joystick to move your camera.

Examples, Generator & More
+jump

This movement command causes your character to jump once into the air. It will also unbind your jump key, so enter -jump into your console to fix this.

Examples, Generator & More
+klook

This command prevents you from being able to move forward with your keyboard. Use the -klook command to disable it.

Examples, Generator & More
+left

This command causes your camera to endlessly rotate in a left direction. Using the -left command will end the cycle.

Examples, Generator & More
+movedown

This command only works in noclip mode and in demos: this command will make you (or your free-roam camera in demos) move downwards. Use -movedown to stop moving downwards.

Examples, Generator & More
+moveleft

This command will make your character move to the left. The -moveleft console command will stop your character from moving to the left after running this command.

Examples, Generator & More
+moveright

This command will make your character move to the right. The -moveright console command will stop your character from moving to the left after running this command.

Examples, Generator & More
+moveup

This command only works in noclip mode and in demos: this command will make you (or your free-roam camera in demos) move upwards. Use -moveup to stop moving upwards.

Examples, Generator & More
+reload

This command will prompt your character to reload their weapon if any bullets have been fired, and if not deactivated, will cause your character to reload instantly after firing a single bullet. Deactivate this command with the -reload command.

Examples, Generator & More
+right

This command makes your camera spin endlessly to the right. Using the command -right will stop this effect.

Examples, Generator & More
+score

This command will bring up the match scoreboard that displays statistics such as kills, deaths, and how many MVP medals each player has. Use the command -score to hide the scoreboard.

Examples, Generator & More
+speed

This console command will slow down the movement speed of your character. Type the command -speed to return your movement speed back to normal.

Examples, Generator & More
+strafe

This command prevents your mouse from being able to adjust where your player model is looking. Instead, your mouse will cause you to move to the side, or strafe. Turn this off with the -strafe command.

Examples, Generator & More
+use

This command will prompt you to perform the "use" action on an item or object if its applicable. For example, this command will make you plant the bomb if you're on a bombsite carrying the bomb when you use it. It can also open doors if you're in front of one. It acts in a similar way to the E key on a default keyboard setup. Use the -use command afterwards, as otherwise you will not be able to use this command again.

Examples, Generator & More
+voicerecord

This a useful console command that, when activated, will start continuously transmitting what you say to your teammates in game, meaning you don't need to hold down a mic hotkey. The command -voicerecord disables this command and stops transmitting what you say to your team. Check our examples for a way to bind this to a key.

Examples, Generator & More
CS:GO Command

+walk

+walk

This command was removed from the game as it allowed players to move up ladders at full speed silently.

+zoom

This command will make make your AWP, or any other weapon with a scope (e.g. scout) scope in. The weapon will continue to be scoped in/out until the command -zoom is used. The command may activate the "zoom" feature of other weapons like the stab of a knife or the burst fire switch of the glock.

Examples, Generator & More
-alt1

This command will deactivate the alt1 key, which is usually activated with the +alt1 command.

Examples, Generator & More
-alt2

This console command stops the action that the command +alt2 commands.

Examples, Generator & More
-attack

This is the command needed to stop firing or attacking if you've the +attack command.

Examples, Generator & More
-attack2

This is the command you need to stop the infinite attack cycle that +attack2 causes, such as repeatedly stabbing if you have your knife equipped.

Examples, Generator & More
-back

Using this console command stops your character walking backwards if you previously used the +back command.

Examples, Generator & More
-duck

If you're crouched, this cheat command will make you stand back up.

Examples, Generator & More
-forward

This is the command to use to stop your character walking forward if you've got them in an endless movement cycle.

Examples, Generator & More
-graph

This cheat command will dismiss the statistics graph that can be summoned by using the +graph command.

Examples, Generator & More
-jlook

This cheat command can be used to prevent a joystick that you may have plugged into your computer from being able to adjust where the in game camera is looking.

Examples, Generator & More
-jump

This command will deactivate the effect of the +jump command.

Examples, Generator & More
-klook

This command will allow you to move forward using your keyboard if you've purposefully or accidentally disabled that function.

Examples, Generator & More
-left

This is the console command that will stop your camera from rotating to the left on an unlimited loop, such as the command +left does.

Examples, Generator & More
-movedown

This command will deactivate the +movedown command (will stop you or your camera from moving downwards).

Examples, Generator & More
-moveleft

This cheat command stops your character from moving if they've been set to move endlessly to the left.

Examples, Generator & More
-moveright

This command prevents your character from moving any further if they've been set to move endlessly to the right.

Examples, Generator & More
-moveup

This command will deactivate the +moveup command (will stop you or your camera from moving upwards).

Examples, Generator & More
-reload

This command will deactivate the +reload command (as after using the +reload command, you will instantly reload after firing any bullets).

Examples, Generator & More
-right

This console command stops your camera from spinning in circles if you've set it to rotate endlessly to the right.

Examples, Generator & More
-score

This command hides the CS:GO scoreboard if you brought it up with a command like +score.

Examples, Generator & More
-speed

This command will return the speed of your character back to running speed/normal if you've slowed it down with a command like +speed.

Examples, Generator & More
-strafe

This command disables the effect from the +strafe command, where your mouse will move your character sideways rather than look around with the camera.

Examples, Generator & More
-use

If you have previously used the +use command, you must run this command after (to deactivate it), so that you can use the +use command again.

Examples, Generator & More
-voicerecord

This console command will stop transmitting voice communication if you've used a command that lets you communicate without holding down a hotkey. Check the examples for a bind to toggle between transmitting voice and not doing so.

Examples, Generator & More
-zoom

This command breaks the infinite loop cycle of scoping in and out on a scoped weapon like the AWP or stabbing with your knife that +zoom causes.

Examples, Generator & More
air_density <Air Density >

This console command changes the air density inside of CS:GO. This is only used in drag computations.

Name Description
Air Density

The number you wish to set the CS:GO air density (used in drag computations) to. This is capped at 10,000,000,000.

Examples, Generator & More
gamepadslot1

This command will simulate pressing the gamepad slot 1 button (if you have gamepad enabled).

Examples, Generator & More
gamepadslot2

This command will simulate pressing the gamepad slot 2 button (if you have gamepad enabled).

Examples, Generator & More
gamepadslot3

This command will simulate pressing the gamepad slot 3 button (if you have gamepad enabled).

Examples, Generator & More
gamepadslot4

This command will simulate pressing the gamepad slot 4 button (if you have gamepad enabled).

Examples, Generator & More
gamepadslot5

This command will simulate pressing the gamepad slot 5 button (if you have gamepad enabled).

Examples, Generator & More
gamepadslot6

This command will simulate pressing the gamepad slot 6 button (if you have gamepad enabled).

Examples, Generator & More
button_info <Key or Button>

This command displays technical information regarding a specific key or button, such as its state and any bound actions.

Name Description
Key or Button

The specific key or button to display information for.

Examples, Generator & More
input_filter_relative_analog_inputs <0 / 1>

This command sets whether to filter relative analog inputs, such as those from a joystick, to enhance precision.

Name Description
0 / 1

Enable or disable the filtering of relative analog inputs.

Examples, Generator & More
input_forceuser <Player Index>

This command forces the user input to a specified split screen player, useful for debugging or controlling multiple characters.

Name Description
Player Index

The index of the split screen player to force input to.

Examples, Generator & More
invnextselect

This command cycles to the next item in the player's inventory and selects it.

Examples, Generator & More
panorama_focus_world_panels <0 / 1>

This command requests key focus for world panels when they are enabled, affecting how input is directed in these contexts.

Name Description
0 / 1

Determines whether to request key focus for world panels when enabled.

Examples, Generator & More
player0_using_joystick <0 / 1>

Determines whether the first player is using a joystick for input. When set to true, game inputs are expected to come from a joystick device.

Name Description
0 / 1

Enable or disable joystick controls for the first player.

Examples, Generator & More
repeat_last_console_command

Repeats the last command that was entered into the console. This is useful for quickly re-executing commands without needing to type them again.

Examples, Generator & More