Skip to main content

client.draw_hitboxes

Draws hitbox overlays. Avoid calling this during the paint event.

client.draw_hitboxes(entindex: number, duration: number, hitboxes: number, r: number, g: number, b: number, a: number, tick: number)

Arguments

NameDescriptionType
entindexEntity index of the playernumber
durationTime in secondsnumber
hitboxesEither the hitbox index or 19 for all hitboxesnumber
rRed color component (0 to 255)number
gGreen color component (0 to 255)number
bBlue color component (0 to 255)number
aAlpha (opacity) component (0 to 255)number
tickTick to draw the hitboxes fornumber