marble3 / HUD_SLOTS
Variable: HUD_SLOTS
constHUD_SLOTS: readonly ["top","top-left","above-center","below-center","bottom","center","rail"]
Defined in: src/hud.ts:9
The places a HUD element can go: a game says where a thing belongs, not how to lay it out. above-center and below-center sit either side of a centred playfield, at a distance the game sets with the CSS variable --hud-gap on hud.root (default 24vh). rail is a screen-sized layer for a panel that positions itself.