Garry's Mod Wiki

debugoverlay.Box

  debugoverlay.Box( Vector origin, Vector mins, Vector maxs, number lifetime = 1, table color = Color( 255, 255, 255, 255 ) )

Description

Displays a solid coloured box at the specified position.

This function will silently fail if the developer ConVar is set to 0. It is not networked to clients, except for the listen server host.

Arguments

1 Vector origin
Position origin
2 Vector mins
Minimum bounds of the box
3 Vector maxs
Maximum bounds of the box
4 number lifetime = 1
Number of seconds to appear
5 table color = Color( 255, 255, 255, 255 )
The color of the box. Uses the Color