DOM elements

DOM helpers let you attach lightweight UI controls to the scene. Use them for interaction, debugging, and simple inputs.


Buttons

Use button() to add a clickable action to your scene.


Sliders

Use slider() to expose numeric input for live tweaks.


Text elements

Use textElement() for labels and readouts.


Checkboxes

Use checkbox() for simple on/off toggles.