roblox-gui

Installation
SKILL.md

roblox gui

When to Load

Where UI goes and how it adapts: containers, scale, safe areas, mobile-first layout, console and TV, gamepad focus. Menus, shops, dialogs, HUD widgets, text entry, lists and effects: roblox-gui-components.

Quick Reference

  • Mobile first: design on the smallest landscape phone with touch controls, then grow (full.md §7).
  • Reserve top bar, thumbstick, jump, chat. Interactive UI in CoreUISafeInsets; the canvas is smaller than the screen, so lay out on the ScreenGui's AbsoluteSize.
  • AbsolutePosition is measured from below the top bar for every ScreenGui: screen Y = AbsolutePosition.Y + GetGuiInset().Y. Compare elements in that shared space (§7.4).
  • Check element pairs that can show together; reflow, don't shrink.
  • UITextSizeConstraint ignores UIScale; scale the caps with the stage.
  • Rotated or UICorner containers don't clip; use a CanvasGroup (§5).
  • Gamepad: one SelectedObject owner, SelectionGroup bounds, deferred focus restore, layered Back (§6).
  • Console/TV: TV-safe area, ViewportDisplaySize, no chat window; TV remote = D-pad, centre, back.
  • Contrast: Color3:GetContrastRatio, GetContrastingColor.
  • Test: Device Simulator + Controller Emulator; set the device before Play.
Installs
4.1K
GitHub Stars
224
First Seen
May 28, 2026