Debug Overlay
csgo.interface_handler:get_debug_overlay( )
Functions
add_box_overlay
renders a 3-dimensional box at position for a limited duration
debug_overlay:add_box_overlay( origin, mins, maxs, angle, color, duration )
Parameter
Data type
Description
origin
position in world
mins
minimum bounds
maxs
maximum bounds
angle
box rotation angle
color
color of the box
duration
float
how long the box will last
add_line_overlay
renders a line in 3D space for a limited time
debug_overlay:add_line_overlay( point_one, point_two, color, skip_occlusion, duration )
Parameter
Data type
Description
point_one
first position
point_two
second position
color
color of the line
skip_occlusion
boolean
draw behind walls
duration
float
how long the line will last
Last updated