setpos
Moves you to an exact map position. Use it with setang to stand on a saved lineup spot.
setpos <x> <y> <z>
How to use it
- Turn on the console under Settings, Game, Enable Developer Console.
- Press the key under Esc to open it.
- Type sv_cheats 1 first. This only works on a server you control.
- Type setpos <x> <y> <z> and press Enter.
FAQ
Does setpos need sv_cheats?
Yes. setpos is cheat-protected in CS2, so it only works after sv_cheats 1 on a server you control. It does nothing in matchmaking.
More cheat commands commands
Revision history
- First published. Every command checked against CS2's own cvar and command list (SteamDatabase dump b73cfdeb35, 28 Oct 2026).