csgo.interface_handler:get_debug_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
csgo.vector3
position in world
mins
minimum bounds
maxs
maximum bounds
angle
csgo.angle
box rotation angle
color
csgo.color
color of the box
duration
float
how long the box will last
renders a line in 3D space for a limited time
debug_overlay:add_line_overlay( point_one, point_two, color, skip_occlusion, duration )
point_one
first position
point_two
second position
color of the line
skip_occlusion
boolean
draw behind walls
how long the line will last
Last updated 3 years ago