drawline Command

Explore usage, syntax, and examples for the drawline CS2 developer console command.

drawline

CS2 and CSGO

Command

drawline

<X Y Z><X Y Z>

Draws a line between two specified in-game coordinates.

<X Y Z>

Enter the X, Y, and Z coordinates of the first position, separated by spaces.

<X Y Z>

Enter the X, Y, and Z coordinates of the first position, separated by spaces.

sv_cheats Required

Yes

Client or Server Command

Server

drawline Generator

Command

drawline

<X Y Z>
0/2 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

drawline Examples

Command

drawline

445

Draws a line from coordinates X -319, Y 445, Z -16 to X -350, Y 445, Z 50.

drawline Command