Garry's Mod Wiki


  debugoverlay.Axis( Vector origin, Angle ang, number size, number lifetime = 1, boolean ignoreZ = false )


Displays an axis indicator 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.


1 Vector origin
Position origin
2 Angle ang
Angle of the axis
3 number size
Size of the axis
4 number lifetime = 1
Number of seconds to appear
5 boolean ignoreZ = false
If true, will draw on top of everything; ignoring the Z buffer