getpos
Prints your position and view angle as a setpos/setang line you can paste back later. Cheat-protected.
getpos
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 getpos and press Enter.
FAQ
Does getpos need sv_cheats?
Yes. getpos is cheat-protected in CS2, so it only works after sv_cheats 1 on a server you control. It does nothing in matchmaking.
More practice commands
Revision history
- First published. Every command checked against CS2's own cvar and command list (SteamDatabase dump b73cfdeb35, 28 Oct 2026).