Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem
Typecontent.luau

HudRegionDef

A box on the screen that HUD elements are drawn in, and the font rows it reserves.

Fields

hudRegionDef.anchor: HudAnchor
#

the point of the screen it is placed from

hudRegionDef.height: number
#

its height in pixels, one slot's

hudRegionDef.lines: { [string]: { number } }
#

each HUD image or font drawn in it, by id, to the y offsets inside a slot where it is drawn

hudRegionDef.pitch: number?
#

pixels from one slot to the next; default height

hudRegionDef.slots: number?
#

how many popups it stacks; default 1

hudRegionDef.width: number
#

its width in pixels

hudRegionDef.x: number?
#

pixels right of the anchor; default 0

hudRegionDef.y: number?
#

pixels below the anchor; default 0