SectionSettings beta
Interface of @v12-engine/client
ts
export interface SectionSettingsWhat may be done with a section, and where it starts: what the game says (GameView.hud.layout)
Members
collapsed
ts
collapsed?: boolean;Whether it starts folded away to a tab
collapsible
ts
collapsible?: boolean;Folded away to a tab. True when left out
dx
ts
dx?: number;Where it starts, moved from the HUD's own place, in pixels, and how big
dy
ts
dy?: number;Pixels it is moved down from the HUD's own place
locked
ts
locked?: boolean;Kept where it is until unlocked, by the player or code
movable
ts
movable?: boolean;Moved by the player. True when left out
scalable
ts
scalable?: boolean;Made bigger or smaller. True when left out
scale
ts
scale?: number;Its size as a share of the HUD's, 1 as drawn