请求的译文尚未完成,当前显示原始英文。
SKILL.md
只读
名称
roblox-gui
描述
Use when building or fixing Roblox menus, HUDs, shops, dialogs, or UI that must work on phones, tablets, desktop and console.
roblox gui
When to Load
HUDs, menus, shops, dialogs, world UI, and layout bugs on phone, tablet, desktop or TV.
Quick Reference
- Mobile first: design on the smallest landscape phone with touch controls, then grow (full.md §11).
- Reserve top bar, thumbstick, jump, chat; interactive UI in
CoreUISafeInsets; place by measuredAbsolutePosition/AbsoluteSize. - Check every element pair that can show together; reflow, don't shrink.
- Gamepad: one
SelectedObjectowner,SelectionGroupbounds, restored focus, layered Back (§8). - Console: TV-safe area,
ViewportDisplaySize, no chat window. - Layouts own repeated layout; UI shows server state; a button is not an authority boundary.
- Reactive UI: per-screen cleanup; repeat open/close to test leaks. Loading UI in
ReplicatedFirst. - TextBox submit, grids, truncation, RichText safety, deprecated APIs: full.md.
Details: references/full.md






