soggy.Documentation Back to Soggy ↗

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

Type to search guides, functions and events.