Bind Commands
Below is the most popular version of this bind. Press the "Change Key" button to change the key this is bound to (default F2). Copy and paste the command into your console to apply the bind.
How it Works
The above command is made up of two parts. The first part, "bind f2", tells Counter-Strike to bind whatever comes next to the F2 key on your keyboard.
The second part of this command is "toggle crosshair 0 1". The "toggle" command will toggle a command between two different settings. In this case, the command it is toggling is "crosshair" and the settings are 0 and 1. When "crosshair" is set to 0, your crosshair is invisible. When set to 1, it is visible. So the "toggle crosshair 0 1" command will toggle the crosshair setting between invisible (0) and visible (1).
Other Bind Variations
Find different variations of this bind below.
Toggle Crosshair Color
CS2 & CS:GO CompatibleThis bind will toggle the color of your crosshair between green and black when the f2 key is pressed. This is useful for better visibility when your crosshair is over lighter parts of the map (black is easier to see). Copy and paste this into your console or autoexec to apply.
bind f2 "toggle cl_crosshaircolor 0 4"