Hud
Hud(
__namedParameters):Element|null
Defined in: packages/engine/src/components/Screen.tsx:105
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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
{ children?: ReactNode; } |
__namedParameters.children? |
ReactNode |
Returns
Section titled “Returns”Element | null