ui.guide
This package holds more than this page lists. See all of its files in its world.
README.md
topics/ui guide
How a world builds its screens: widget trees, styles, layout, the cursor, focus and keyboard
and gamepad navigation through a menu (moves by direction, navUp / navDown / navLeft /
navRight overrides, navGroup containers), a screen in the camera's picture or on the window,
and a phone HUD laid out clear of what covers the screen: the system bars and cutouts
(ui.safeArea()) and the on-screen touch buttons and Menu button the engine draws over the
picture (ui.safeArea().controls; a world's own on-screen buttons stated with ui.setControlRegions),
widgets moved by springs, flings and per-frame placements the engine steps by id with no
Luau per frame (ui.spring, ui.fling, ui.setMotions), and motion that respects a person who asked their phone, browser or computer for less movement
(ui.reducedMotion(), ui.onReducedMotionChange, ui.setReducedMotion, ui.matchMedia).
Surfaced through guides { path: "topics/ui" } and man topics/ui. The content lives in guide.md.