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


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