This article's documentation is for anything that uses the Source engine. Click here for more information.

box

From Valve Developer Community
Revision as of 01:15, 12 May 2025 by Nescius (talk | contribs)
Jump to navigation Jump to search
Example use of box command in Day of Defeat: Source on map dod_kalt. box 1874 3236 75 1553 3383 197

box is a console command available in all Source Source games. It draws a box from red lines by specifying 2 corners' cordinates as parameter. It's axis aligned.

Note.pngNote:Doesn't work in Half-Life: SourceHalf-Life 2 (possibly not working in single player titles[confirm])
Tip.pngTip:Clearable by command clear_debug_overlays

Syntax: box x1 y1 z1 x2 y2 z2

Example: box 100 500 31 996 78 -655


See also