Legacy Lua Api
  • Overview
  • Getting Started
    • Creating Scripts
    • Coding Scripts
    • Examples
  • Fatality
    • Render
    • Config
    • Menu
    • Callbacks
    • Math
    • Input
    • Datatypes
      • Shot
      • Lag Record
      • Shot Info
      • Config Value
  • Csgo
    • Interface Handler
      • Global Vars
      • Entity List
      • Engine Client
      • Cvar
      • Events
      • Debug Overlay
    • Datatypes
      • Color
      • Vector3
      • Vector2
      • Angle
      • Entity
      • Player
      • Cvar
      • Game Event
      • Font
      • Matrix3x4
Powered by GitBook

© 2025 - FATALITY

On this page
  • Functions
  • add_box_overlay
  • add_line_overlay
  1. Csgo
  2. Interface Handler

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

PreviousEventsNextDatatypes

Last updated 2 years ago

csgo.vector3
csgo.vector3
csgo.vector3
csgo.angle
csgo.color
csgo.vector3
csgo.vector3
csgo.color