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

Box (console command): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{This is a|console command|name=box}}. It draws a box from red lines by specifying 2 corners' cordinates as parameter. It's axis aligned.
{{This is a|console command|name=box}}. It draws a box from red lines by specifying 2 corners' cordinates as parameter. It's axis aligned.
{{note|Doesn't work in {{hls}}{{hl2}} (possibly not working in single player titles{{confirm}})}}
{{note|Doesn't work in {{hls}}{{hl2}} (possibly not working in single player titles{{confirm}})}}
{{tip|Clearable by command clear_debug_overlays}}


Example <code>box 100 500 31 996 78 -655</code>
Example <code>box 100 500 31 996 78 -655</code>

Revision as of 00:57, 12 May 2025

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

Example box 100 500 31 996 78 -655

See also