Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

Hud

Hud(props): Element | null

UI for the screen, from wherever it sits: inside the canvas, where the DOM cannot draw, or beside it. Its children arrive in the screen layer still reading every context around the Hud, so useEntity() inside one reads the Entity it sits in.

Parameter Type
props { }

Element | null