Skip to content
Back to skills

Roblox Ui Mobile

ASecurity

Use when designing, building or reviewing Roblox UI for phones first, then tablet and desktop: which Device Simulator presets to test, a phone-first build order, HUD placement around the thumbstick and jump button, how a panel opens and closes (size, dim or blur, which HUD slides off, close button, grid, tabs, timing) with a tested PanelStage module, measured HUD motion (counters, coin fly-to-counter, damage numbers, HP and XP bars, button press and cooldown, toasts, badges), the on-screen ke...

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgoshellnodespringawsgitapiperformance

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add RoDesignerAI/roblox-skills --skill roblox-ui-mobile --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Roblox Ui Mobile?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Roblox Ui Mobile
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rodesignerai-roblox-ui-mobile/badge)](https://www.skillsdirectory.com/skills/rodesignerai-roblox-ui-mobile)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: roblox-ui-mobile
description: "Use when designing, building or reviewing Roblox UI for phones first, then tablet and desktop: which Device Simulator presets to test, a phone-first build order, HUD placement around the thumbstick and jump button, how a panel opens and closes (size, dim or blur, which HUD slides off, close button, grid, tabs, timing) with a tested PanelStage module, measured HUD motion (counters, coin fly-to-counter, damage numbers, HP and XP bars, button press and cooldown, toasts, badges), the on-screen keyboard, tablet, desktop, a device sweep script. Also when agents test on an old small preset such as iPhone 7 or only on desktop, a panel fills the phone screen, hides the currency or opens over the HUD, a TextBox ends under the keyboard, action buttons hit the jump button on tablets, MCP clicks miss in the Device Simulator, or a counter, cooldown, HP bar, toast or badge animation is slow, jittery or overdone. Zone px and floors stay in roblox-ui-layout; the genre look in roblox-ui-genre-studs and roblox-ui-genre-scifi."
last_reviewed: 2026-11-27
sources:
  - Studio 0.747 Device Simulator, measured 2026-11-12 through Studio MCP execute_luau and user_mouse_input (Play, Client datamodel) on 16 presets (safe frames, touch controls, keyboard, ViewportDisplaySize); runs of scripts/panel_stage.luau and roblox-ui-layout/scripts/ui_device_check.luau; tap pass-through measured by the RoDesigner kit build (Studio 0.747, Play, Galaxy A06 preset touch and desktop mouse, 2026-11-16; result file read by us, not re-run)
  - Roblox client scripts, PlayerModule ControlModule DynamicThumbstick (read from PlayerScripts in Studio 0.747); EmulatedDevices.xml (mirror MaximumADHD/Roblox-Client-Tracker branch roblox at b0b3ae8, Studio 0.746)
  - creator docs performance-optimization/test-on-hardware, studio/device-simulator, input/mobile, reference BlurEffect (read 2026-11-12); Roblox built-in Studio MCP skill rbx-device-simulator-lua
  - StatCounter Global Stats, October 2026 (mobile OS, phone, tablet and desktop screen resolution, vendors; web page views, top 20 rows per chart)
  - Roblox FY2025 Form 10-K and Q3 2026 Form 10-Q (users and revenue by region); Counterpoint Research, best-selling smartphones of 2025; Roblox help article 203625474 (mobile system requirements, updated 2026-11-05)
  - RoDesigner research library, 2026-11-12, 84 phone frames with an open panel from 28 top games, 45 phone HUD frames from 29 top games, 50 tablet frames from 17 games and 24 row-list panels from 16 games (frames private; numbers and method only)
  - RoDesigner window builds, 2026-11-21 to 2026-11-22 (shop, inventory, season pass, forge, talent tree and collection log windows built by smaller models from section 4, each judged blind by two judges a sitting; the record is references/window-builds.md)
  - original (test set, recipes and thresholds marked judgment)
  - original motion reads, 2026-11-05 and 2026-11-19 (60 fps captures of five live games and 33 more UI clips, measured frame by frame; clips private, numbers and method only)
  - ParticleEmitter2D: DevForum staff post t/4996850 (Studio beta UI Particles, 2026-11-19), creator docs reference ParticleEmitter2D and ui/2D-particle-emitters (read 2026-11-20); property reads in Studio 0.748 with the beta off, and a five-effect HUD build run in Play with the beta on (2026-11-20)
  - https://github.com/nexu-io/opengame/tree/skills/skills/openmotion-game (Apache-2.0, commit e2239d0, read 2026-11-27): references game-feel-craft and review-rubric (check the phone layout at the densest HUD state); adapted, not copied
  - RoDesigner tool guide (`design_guide` topic `tools`), kit pack list and rodesigner.com (read 2026-11-30)
  - RoDesigner kit lint 0.1.79, rule PH-11 (`docs/KITLINT-FORMAT.md` and `docs/rules.json`, read 2026-12-02); the owner's verdict on a blind pair of HUD builds, relayed by RoDesigner the same day (panel width once the HUD has slid off)
---

# Mobile-first UI (phone, tablet, desktop)

Most players hold a phone, so the phone layout is the design and tablet and desktop are adaptations of it. This skill is the how: which devices to test, what order to build in, how the HUD and panels behave on a small screen. `roblox-ui-layout` keeps the numbers (reserved zones in px, size and text floors, insets, HUD budgets); read its sections 1, 2 and 4 with this one. Console is not covered here (`roblox-ui-layout` section 5).

## 0. Who you are building for

- Most sessions and users are on mobile (docs, `roblox-ui-layout` section 0). Android is about 65% of a typical game's players; about 60% of those have 2-4 GB RAM, 35% have 4-8 GB, 5% more (docs `performance-optimization/test-on-hardware`). Your own game's devices are in the Creator Hub Performance dashboard.
- About 82% of daily users are outside the US and Canada (FY2025 10-K), while the US and Canada bring 57% of revenue (Q3 2026 10-Q).
- Phones by market (StatCounter, October 2026; web page views, a proxy and not Roblox players):

  | | Android | iOS |
  |---|---|---|
  | Worldwide | 72.4% | 27.6% |
  | US, UK, Japan | | 52.0%, 50.1%, 53.9% |
  | Brazil, Mexico, Indonesia, Philippines, India | 73.8%, 74.1%, 78.7%, 86.3%, 94.9% | |

- Phone screens worldwide (same source, portrait px): 414x896 12.7%, 360x800 8.6%, 384x832 7.2%, 390x844 5.3%. 360x800 is first in the Philippines (16.6%), Indonesia (8.7%) and India (15.7%). 375x667 (the iPhone 6 to 8 size) is 1.4% worldwide and 2.6% in the US. Nothing in the worldwide top 20 is narrower than 360.
- The two best-selling Android phones of 2025 were the Galaxy A16 5G and the Galaxy A06 (Counterpoint, 5th and 6th overall). Both are Studio presets.
- Tablets: Apple 47.7%, Samsung 26.8%, Amazon 9.0% worldwide; Amazon is 21.8% in the US. Desktop screens: 1920x1080 27.8%, 1536x864 9.2%, 1366x768 7.5%.
- One game's own mix (field note relayed from its Open Cloud analytics, 2026-11-05 to 11-10, 929 daily-user days, ad-driven traffic; not re-read here): Android phone 31%, iPhone 26%, iPad 21%, Android tablet 6%, Windows 14%, Mac 2% of daily users (phone 57%, tablet 27%, computer 16%); playtime phone 59%, tablet 11%, computer 30%. Tablets were over a quarter of its players and outnumbered computers, which web traffic shares do not show. Its iPad players stayed 3.8 minutes a day against 13.9 on Android phones, and its tablet UI was the phone layout scaled up and had never been captured at a tablet size (a correlation, not a proven cause).
- Reading (judgment): the typical player holds an entry Android phone, which gives Roblox its smallest frame (section 1), most spend comes from iPhone-heavy markets, and tablets are a large third group. Test all three on every change.

## 1. Test devices

Measured in the Studio 0.747 Device Simulator, in Play, landscape (2026-11-12). The safe frame is where a default ScreenGui draws: the screen minus the notch insets and the 58 px top bar. `Camera.ViewportSize` still includes the top bar, so it reads 58 px taller: 705x338 on the Galaxy A06 and 750x381 on iPhone 17 Pro (read 2026-11-13).

| Studio preset | Screen | Safe frame | Touch controls | `ViewportDisplaySize` | Keyboard height | Frame left above the keyboard |
|---|---|---|---|---|---|---|
| Samsung Galaxy A06 | 800x360 | 705x280 | small, jump button 70 px | Small | 162 px | top 140 px |
| iPhone 17 Pro | 874x402 | 750x323 | small | Small | 181 px | top 143 px |
| iPhone 16 Pro Max | 956x440 | 830x381 | small | Small | 198 px (preset value) | not run |
| Amazon Fire HD 10 (2023) | 960x600 | 959x541 | large, jump button 120 px | Small | 302 px | top 240 px |
| iPad 10th Generation | 1180x820 | 1179x761 | large | Medium | 413 px | top 349 px |
| Average Windows | 1366x768 | 1365x710 | none | Medium | | |
| HD 1080 | 1920x1080 | 1919x1021 | none | Medium | | |

When to use which (judgment, from section 0):

| When | Devices | Why |
|---|---|---|
| Every UI change | Samsung Galaxy A06, iPhone 17 Pro, iPad 10th Generation | The smallest common frame and the largest Android class; the notched iPhone frame where the spend is; a tablet with large touch controls (tablets were 27% of one game's daily users, section 0) |
| Before calling a UI done | plus Amazon Fire HD 10 (2023), Average Windows, HD 1080 | Large touch controls on a small tablet frame, a small laptop, the most common desktop. With the three above this is the default list of the sweep script (section 7) |
| Before a release | plus iPhone 16 Pro Max and one real phone | The largest phone frame; thumb reach and the real keyboard |

- Every Android phone preset is 360 px tall (Galaxy A06 800 px wide, A16 and S25 Ultra 780, S22 Ultra 772), so the Android frame is 280 px high at any price. The A16 and S25 Ultra frame is 685x280: leave 20 px of slack in any row that just fits 705.
- The Android presets model iPhone-like side insets (47 px each side and about 21 px at the bottom on the A06). That was not checked on a real Android phone, where the frame may be wider. Building for 705 px is the safe side.
- iPhone 7 (667x375, frame 666x316) is not a default: it has no notch, its frame is 36 px taller than the Android one, and its screen size is about 1% of traffic. A layout that fits it can still overflow on the phones most players hold. Do not pick an old preset because it is first in the list.
- `ViewportDisplaySize` does not tell a phone from a tablet: it is Small on every phone and on the 960x600 tablets, Medium on the iPad and on desktop. The touch controls switch to large when the frame's short side is over 500 px. Branch on `UserInputService.PreferredInput` for touch and on the frame size for space.

## 2. Build order

1. Build each screen on the Galaxy A06 preset first (705x280). If it works there, larger frames only add room.
2. Fix the HUD budget before placing anything: 5 menu buttons (8 in a simulator), HUD coverage near 11% of the screen, nothing in the centre box (`roblox-ui-layout` section 2).
3. Size content (buttons, icons, text) in Offset px from `roblox-ui-layout` section 4. Size containers in Scale with a `UISizeConstraint` maximum, so they stop growing on tablet and desktop (section 6).
4. Switch to iPhone 17 Pro: the frame is 45 px wider and 43 px taller, with 62 px of notch margin on each side. Nothing should depend on reaching the screen edge.
5. Switch to a tablet: the touch controls grow by 1.7x, and the HUD and panels follow with the tablet scale (section 6). Anything placed at a fixed px distance from the corner now sits under the jump button (section 3).
6. Switch to desktop: touch-only buttons hide, the chat window and the player list take the top corners, panels keep their px size.
7. Run the device sweep (section 7), then look at a capture of every state on every device, the densest one included: every HUD element and touch button showing, the largest currency values the game can show, the longest translated strings (`roblox-ui-typography` section 7), a full inventory and stacked notifications. An empty opening frame proves little (opengame's max-density check, adapted).

## 3. HUD around the touch controls

Placement follows the zone map in `roblox-ui-layout` section 2. Three things decide whether it works on a phone.

**The thumbstick start area.** The default dynamic thumbstick starts wherever a touch begins inside `DynamicThumbstickFrame`: the left 40% of the safe frame's width and the lower 2/3 of its height (measured on four devices; its rect also extends 100 px left of the safe frame, into the notch margin).

- A passive `Frame`, `TextLabel` or `ImageLabel` (`Active` false) does not block it: a touch that begins on a readout still starts the stick (tested, Galaxy A06 preset, emulated touch).
- A `GuiButton` or an `Active` frame does block it: the touch never starts the stick, and a tap fires the button. A stick drag that ends on a button does not fire it.
- A button with `Active` or `Interactable` false is dead (no tap) and lets the stick through, so that is not a way around it.
- So a button in the start area costs exactly its hit area of stick room, plus the taps players make by mistake when they put the thumb down to move.

Top phone games use the area anyway (45 HUD frames, 29 games; frames / games): game UI sits in it in 42 / 28, tappable buttons in 32 / 22, and menu-type buttons in 13 / 11 of 16 / 13 simulator and tycoon frames. Where there are buttons, the median is 2 (4 in simulators and tycoons) at about 0.10 of the screen height. They sit as a left-edge column (17 / 13) or in the upper band of the area (14 / 14). All game UI together covers a median 8% of the area (p75 17%, max 33%). In the 16 frames that show the stick, a button touches its resting ring in 1.

Rule (judgment from those numbers and the test above):

- Readouts (currency, stats, income rows) may sit in the start area freely. Keep them passive.
- Buttons go there when the right side and the top band are full: as a left-edge column or in the upper band, with at most about a quarter of the area under buttons. Simulators and tycoons, where the player stands still to tap, tolerate more than obbies or combat games, where a failed stick start costs a life.
- Keep the resting ring clear (the ring keep box in `roblox-ui-layout` section 1). The ring is only a first-touch hint, but the corner is where the thumb lands. A button there is a last resort.
- A button in the start area must be safe to hit by mistake: it opens a menu or a prompt and never spends, consumes or confirms on one tap.
- A short-lived tap target (a bonus balloon, a pop-up chip) is a button too: spawn it outside the start area and the keep boxes, where it would take the thumb or be tapped by mistake (judgment). The `KitTransient` mark does not excuse it: the sweep and the RoDesigner kit lint (KitLint, section 7) still check a marked button against the zones.
- The sweep script reports the share of the start area under buttons: a note under 17%, a warning over 17%, an error over 33%.

**Action buttons come from the jump button, not from the corner.** The jump button is 70 px at 25 px from the right and 20 px from the bottom on phones, and 120 px at 50 px and 90 px on tablets. Read its rect and place attack, sprint or ability buttons beside it. Tested on Galaxy A06, iPhone 17 Pro, iPhone 16 Pro Max, Fire HD 10 and iPad 10th, the tablets at scale 1 and 1.7 (no overlap on any):

```luau
-- layer: the full-size HUD frame that holds the buttons. attack sits left of the jump button, dash above it.
-- rootScale: the UIScale at the root of this ScreenGui (section 6); 1 on phones, 1.7 on tablets
local touchGui = playerGui:WaitForChild("TouchGui", 10) -- exists on touch devices only
local jump = touchGui and touchGui:FindFirstChild("JumpButton", true)
local function place()
	local touch = UserInputService.PreferredInput == Enum.PreferredInput.Touch
	attack.Visible, dash.Visible = touch, touch
	if not (touch and jump) then
		return
	end
	local k = rootScale.Scale -- an Offset unit inside the scaled HUD is k px
	local p, s = (jump.AbsolutePosition - layer.AbsolutePosition) / k, jump.AbsoluteSize / k
	local size, gap = math.floor(s.X * 0.9), math.floor(s.X * 0.12)
	attack.Size, dash.Size = UDim2.fromOffset(size, size), UDim2.fromOffset(size, size)
	attack.Position = UDim2.fromOffset(p.X - size - gap, p.Y + s.Y - size)
	dash.Position = UDim2.fromOffset(p.X + s.X - size, p.Y - size - gap)
end
if jump then
	jump:GetPropertyChangedSignal("AbsolutePosition"):Connect(place)
	jump:GetPropertyChangedSignal("AbsoluteSize"):Connect(place)
end
UserInputService:GetPropertyChangedSignal("PreferredInput"):Connect(place)
layer:GetPropertyChangedSignal("AbsoluteSize"):Connect(place)
rootScale:GetPropertyChangedSignal("Scale"):Connect(place)
place()
```

**Pass-through buttons (drag moves, tap fires).** When a column has to run into the start area or over the ring, a button can let the stick through instead of blocking it. Tested on the Galaxy A06 preset (emulated touch) and Average Windows (mouse), 2026-11-12: a tap fired once, a drag that began on the button moved the character and did not fire, a hidden button and a button under a modal scrim did not fire, a mouse click fired once.

```luau
-- drag = thumbstick, tap = button. Mark it so ui_device_check.luau does not count it as a stick blocker.
local TAP_TIME, TAP_MOVE = 0.3, 10 -- seconds and px (judgment)
local function shown(o: Instance?): boolean
	while o and not o:IsA("ScreenGui") do
		if o:IsA("GuiObject") and not o.Visible then
			return false
		end
		o = o.Parent
	end
	return o ~= nil and (o :: ScreenGui).Enabled
end
local function passThrough(button: GuiButton, onTap: () -> ())
	button:SetAttribute("PassThrough", true)
	local function sync() -- on touch the button stops taking input, so the stick gets the touch
		button.Active = UserInputService.PreferredInput ~= Enum.PreferredInput.Touch
	end
	sync()
	UserInputService:GetPropertyChangedSignal("PreferredInput"):Connect(sync)
	button.Activated:Connect(onTap) -- mouse and gamepad; never fires while Active is false
	local began: InputObject?, at: Vector3, t0: number
	UserInputService.InputBegan:Connect(function(input, processed)
		if processed or input.UserInputType ~= Enum.UserInputType.Touch or button.Active then
			return -- processed: an active GUI above (a panel, a scrim) took the touch
		end
		local p, s, pos = button.AbsolutePosition, button.AbsoluteSize, input.Position
		if shown(button) and pos.X >= p.X and pos.X <= p.X + s.X and pos.Y >= p.Y and pos.Y <= p.Y + s.Y then
			began, at, t0 = input, pos, os.clock()
		end
	end)
	UserInputService.InputEnded:Connect(function(input)
		if input == began then
			began = nil
			if os.clock() - t0 <= TAP_TIME and (input.Position - at).Magnitude <= TAP_MOVE then
				onTap()
			end
		end
	end)
end
```

- Why this shape: a button with `Active` false gets no `Activated` and no `InputBegan` of its own, so the tap is found in `UserInputService.InputBegan` by its rect. `GetGuiObjectsAtPosition` also returns hidden objects, so check visibility yourself. `InputObject.Position` is in the same px as `AbsolutePosition` in a default ScreenGui.
- Cost: the stick's dead zone is 2 px, so a tap that slides 3 to 10 px also nudges the character for the length of the tap. Use it for menu openers, not for a button the player taps while standing on a narrow ledge. The 0.3 s limit was not timed: the MCP tap itself takes about 0.4 s.
- A column that cannot fit above the ring keep box (five 48 px rows need 240 px; a 280 px frame has 180 px above the box): show 3 rows and put the rest behind one "more" button, or split into two columns, or make the rows that reach the start area pass-through. Pass-through buttons do not count toward the start-area share and may sit over the ring.

**A light push on the stick walks.** The thumbstick is analog: a light push moves the character at a fraction of `WalkSpeed`, and the default Animate script blends the walk in. One game measured a stick input of 0.4 giving 8.4 studs/s with walk weight 0.73 and run 0.27. If the game should always run, re-apply the control module's move direction at length 1 each frame, after the control module runs; an emulated 12 px stick drag then moved 21 studs/s instead of 13. Verify with an emulated touch drag in the Device Simulator, not with `Humanoid:Move` (field note, 2026-11-15; a real phone and a gamepad not checked).

**Context hints need a hold.** A hint that follows a raw condition (Jump, Hide, nothing) flickered as it switched every 0.1-0.4 s while the runner left the ground or the line of sight moved. Once shown, keep each hint for a minimum time (0.4 s and 1.5 s by hint in one game), and let a hint that depends on standing wait out a jump (field note, 2026-11-16).

**One layer per side.** Parent each side's HUD into one invisible full-size frame (Left, Right, Top). Layout code keeps owning each element; a panel moves a whole side by moving its layer (section 4).

## 4. Opening a panel

**Start from the kit, not from an empty script.** A window with a finish and motion (missions, shop, inventory, rewards) starts as `scripts/window_kit.luau` and `scripts/window_kit_demo.luau`, both served with this section: copy the two into one folder of the place, run the demo (`require(ReplicatedStorage.Ui.WindowKitDemo).run()` from a LocalScript), look at it on a phone preset, then turn the demo into your screen: your rows, your tabs, your palette, font and icons, the same calls. Evidence (2026-11-21, blind, two judges per sitting, sums out of 100): in the last sitting the demo scored 74 and a designer's window 82, while a window that a smaller model wrote from this same text, after reading that the kit exists and choosing its own code, scored 63. Its judges' list was what the kit already does: stale content in the first frame of an open, an outline left behind on close, a button that pops past the window's edge, rows that fade to empty shells on a tab change. In the next sitting the same model, given this paragraph, copied the kit, reskinned the demo (its own palette and fonts, a fourth tab, a locked state) in 20 minutes against 34, and scored 82: above the designer's window (76) with both judges, and above the demo itself (71). Writing your own finish and motion costs more turns and loses the parts that took the kit many capture rounds: the order of an open, a list that re-sorts without rows crossing, the claim flight, the HUD that gives way and comes back. The measured table below says what a panel is; the kit rows further down say how each part is built.

**The kit is not a look: write the game's skin first.** The demo's blue arcade window is one of three skins in `Demo.SKINS` (`arcade`, `grim` for horror and survival, `tech` for sci-fi and racing). The same build code runs under all three (`Demo.run(nil, { skin = "grim" })`), and each is lint-clean on the four presets (2026-11-21). A screen that ships a demo skin looks like every other game built from this kit, so before the rows and tabs, write one skin table from the game's brief and style board:

| Part of a skin | What it sets | How to choose |
|---|---|---|
| Colours | Three levels of value (a dark well, a mid window, one light card), one accent, one colour per state (ready, go, idle, done), one `warn` for "not enough" and a spent amount | From the game's palette, not the demo's. Keep the three levels under any hue; the lint checks the contrast. `warn` is never the accent: in a gold-accent skin a gold counter reads as a reward |
| Two fonts | A display face for titles and numbers, a body face for sentences; optional `number` | The genre's pair from the typography topic. A wider face needs every width rechecked on a phone. A light display face (typewriter, thin serif) is too weak for a price on a coloured button: set `number` to the bold body face (thin white prices on olive were named by both judges). Faces draw at different sizes: at the same TextSize a Sarpanch or TitilliumWeb capital is 0.45 of it, a Nunito one 0.52, a FredokaOne one 0.63 (the typography topic has the table of 48). Make every label of your own with `TextSize = Kit.textSize(px, face)`: it gives a small-drawing face the larger size, and `Kit.look` warns when the skin's face is one |
| `Kit.look({ ... })` | `radius` (1 chunky, 0.3 tight, 0 square), `outline` and `stroke` (thick dark outlines, or one thin light line on every surface), `shine` (false = matte: no gloss, rim, streaks or glints), `topLight` (true: a matte look keeps a 1 px light line inside the top edge of every card), `depth` (shadow drop), `lift`, `textOutline`, `fontFace` | Round, glossy and outlined reads as a toy: right for a simulator, wrong for horror. Tight and matte reads as serious, and a matte screen with `lift` under 0.08 and no top light was judged "flat, no material": keep `lift` near 0.1 and `topLight = true` on a dark matte skin, and put `Kit.glow(card, color)` on the selected or ready piece (the `tech` skin does all three) |
| `Kit.tone(...)` | `bounce` (the overshoot of every pop, open and rebound) and `pace` (every duration and delay) | `"playful"` (1, 1: the measured default), `"crisp"` (0.25, 0.85), `"heavy"` (0, 1.3). The last two are starting values (judgment): tune by eye |

Call `Kit.look` and `Kit.tone` once, before the first `Kit.card`. Icons and art are the game's own: the demo's cartoon icons stay cartoon under every skin.

**The demo is one structure, not the structure.** A window's skeleton follows its job; choose it before the skin, and do not carry the missions layout into a shop. `scripts/window_kit_layouts.luau` (served with this section; it needs the kit and the demo beside it) builds four more from the same parts, each on a phone layout and a larger one, each lint-clean under the three skins on the four presets (2026-11-21): `require(ReplicatedStorage.Ui.WindowKitLayouts).run()` tours them.

| The window's job | Skeleton | Example |
|---|---|---|
| Work through a list, act on one item (missions, quests, mail, codes) | A list in a dark well beside the detail of the selected row; tabs in the header | `window_kit_demo.luau` |
| Browse and buy (shop, inventory, skins) | A rail of categories down one side, one featured offer across the top of the first shelf only (on the other shelves it leaves and the grid takes its room: an offer over every shelf was marked down as "repeats on every category and takes 20% of the window"), a grid of cards with the price on each card. Card and offer heights are chosen so rows end whole on a large screen and are cut about a third of the way on a phone | `Layouts.shop` |
| One decision now (daily reward, a gift, a confirm, a result) | A small centred modal: a title ribbon on the top edge, one row of tiles, one button. No tabs, no list | `Layouts.daily` |
| Look at one thing while the world stays in view (a unit, a pet, an item, a tower) | A card docked to one edge that slides in from it, a light dim without blur, stats and two actions | `Layouts.sheet` |
| Progress along levels (a season pass, level rewards, a login streak) | A medal with the level and a bar that fills, over a well with a rail of level nodes that scrolls sideways and a reward card under each node in one of three states (claimed, ready, locked). On open the player's own level comes to the middle; the card the well cuts shows half of itself and fades into the well; a level-up fills the link to the next node, lights its card and lands a short title over the dimmed well | `Layouts.track` (added after the season pass sitting, `references/window-builds.md`; linted, not judged yet) |

When the RoDesigner loop gives you a reference anchor for the screen, its measured boxes decide the structure and the kit gives the finish and the motion; these examples are for when you have none. The loop, with the RoDesigner MCP connected: `find_references` (free) for phone screens of top games, `get_reference` on the 2-3 closest (credits on the first open in a project), `pin_reference` on one, then `compare_layout` scores the build against it. A screen that fits no row is built from the same calls (`Kit.card`, `Kit.button`, `Kit.icon`, `Kit.open`, `Kit.fly`, `Kit.count`, `Kit.burst`): start from the nearest example and move the parts. Measured while building them: a phone ScreenGui under the top bar is 280 px high on the smallest preset (338 px view less the 58 px inset), so a window that starts at y 38 is at most 236 px high; a docked sheet with the `panel` role still needs a dim under it (0.7 is enough) or the lint reads it as HUD and its size fails the HUD budget.

**What the judges named, as rules.** Windows of six other screen types and moods were built from this text by smaller models (each judged blind, two judges a sitting, sums out of 100). Each table of what they were marked down for, with the judges' words, is in `references/window-builds.md`; the rules it left are below, with the kit call that does each one ("-" where the builder does it by hand).

| Build | Score | Against |
|---|---|---|
| Horror supply shop (matte, `Kit.tone("heavy")`, a typewriter face), 25 min | 78 | a designer's window 75, `Layouts.shop` as it then was 61 |
| Pirate sea chest inventory (wood, parchment, brass), 23 min | 82 | the designer's window 79 |
| Sci-fi season pass with a two-lane track (no skeleton fit it), 29 min | 76 | the designer's window 84 |
| Storybook forge with craft and upgrade tabs, 26 min | 68 | the designer's window 82 |
| Viking-island talent tree | 78 | the reference 85 |
| Undersea collection log | 71 | the reference 77, two earlier builds 83 and 80 |

*Open, close and tabs*

- The window is opaque from its first frame and the scale carries the entrance; it starts to leave on the frame of the press on close (`Kit.open`, `Kit.close`).
- Every HUD item is out of sight before the window lands (0.2 s), each side in its own order, and the HUD comes back after the close (`Kit.dock`). A window opens over a HUD that has its button.
- Every card of a set arrives in its turn, in reading order, row 1 first, about 30 ms apart; fifteen or more small items arrive row by row or 15-20 ms apart, so the whole set reads by about 0.6 s (`Kit.open` deals a staged group one by one and adds the same-size cards beside it).
- Cards of a grid never overlap on a change: the old ones fade in 0.1 s, the new ones are dealt in from 0.1 s, 30 ms apart, the heading changes with them; fade first, move the scrolled view unseen, then deal; a selection mark arrives after its card (`Kit.grid`, `grid:select`, `Kit.refresh({ heading })`).
- The rows that leave are gone before anything moves over them; a pane whose whole page changes swaps pages (`list:show`, `Kit.swap`).
- A tour or demo that loops never destroys and rebuilds the GUI: close, put the data back, rest, press the HUD button (`window_kit_demo.luau` `api.reset`).
- Choose the phone or the large layout from `Kit.screen()` (a client's first frames report a placeholder viewport).

*A press and its answer*

- The answer to a press starts on the next frame and the result is on screen within 0.5 s; no waiting state without motion. A purchase flight starts on the press (5 pieces, 0.3 s, 40 ms apart), the item bursts and its button changes as the first piece lands, the counter runs down in 0.35 s (`Layouts.shop` `buy`, `Kit.fly`, `Kit.count`).
- The time before a reveal is a build-up the player sees: the card swells and trembles, a light rises, sparks fly in (`Kit.charge`). The picture first, its words 0.15 s after it (`Kit.refresh` `delay`).
- A result inside a window holds 0.35-0.5 s and keeps moving while it holds, then the item flies; the button turns to its done state and never carries the result.
- A press that cannot go through answers at once: the button shakes and the counter turns to the `warn` colour (`Kit.shake`).
- A change dips only the texts and images that changed, not the surface they sit on (`Kit.refresh`). One card per item, keyed; an effect belongs to its card and leaves with it.
- Hover is for a mouse only (`Kit.press`).

*Banners, tips and counts*

- The banner of a moment is a reward piece: a ribbon in the tier's colour with tails, a stroked title of 20 px or more, the found thing on a medal, rays for the higher tiers (`Kit.banner`). It is centred on the window or just under what it names, and what darkens is a band behind the title in the window's hue, never the whole window (`Kit.stamp` `dim`). Its title stays off the card the moment came from (`Kit.stamp` `avoid`). A banner over working content is under a third of its height and holds 0.5-0.6 s.
- A short answer to a press sits just above what was pressed, with a tip pointing at it, over nothing else (`Kit.callout`). A tip never covers another label.
- A "+N" or a spend rises from the counter it changes, on the counter's free side, never on a window's border; a spend is red with an outline in a dark shade of its own colour and as large as a gain (`Kit.count`).
- A count on a tab clears every text on it: after the tab's name or on its top-right corner (`Kit.badge` `beside`).
- A selection is a soft glow in the accent colour with the piece a little larger (about 1.08) and a short ease when it moves (`Kit.glow`, `Kit.slideTo`); no handle dots or thin white outlines.

*Text and numbers*

- Size text by the letters, not by TextSize: a face that draws small gets a larger TextSize (`Kit.textSize(px, face)`, the warning in `Kit.look`). A display face with small lowercase is set in capitals and digits; mixed-case names go in the body face. A decorative face (blackletter, script, brush) is for one large word at most. 12 px bold is the floor for a caption.
- A button that takes or gives currency carries its verb ("SELL 1,200"). A value and its unit or total sit on one baseline, 8-12 px apart. A cost in materials shows the amount needed first and large, the amount owned small beside it, a check when met and the `warn` colour when short.

*Space and material*

- A list well is never more than about a quarter empty: size it to its rows or fill it with the next locked rows. A grid with few items shows empty sockets (`Kit.grid` `sockets`). A pane has no empty block: a variable count of rows centres them or moves the buttons up. A row of slots has as many slots as the item needs.
- A scrolling well or grid fades at both edges while there is more past them (`Kit.list`, `Kit.grid` `fade`); a track that scrolls under a fixed column is clipped at that column's edge.
- Matte is not flat: a dark panel keeps a top-to-bottom fall of about 10%, a 1 px light line inside its top edge, and the pieces to press carry light of their own (`Kit.look({ topLight = true, lift = 0.1 })`, `Kit.glow`). Material in the game's own theme: a trim along the header, a quiet motif on the body, an inner shadow at the top of a well (`Kit.trim`, `Kit.card` `inset` and `pattern`). Decoration sits inside the frame, never on the corners outside it.
- HUD buttons sit on plates with the counters' corner and outline in every skin (`Kit.button` with `role = "menu"`).

The calls added after the last two sittings (`Kit.charge`, `Kit.banner`, `Kit.callout`, `Kit.badge` `beside`, `Kit.trim`, `Kit.stamp` `dim` and `avoid`, fades at both edges, the open order) were checked on stills in a lab window and the open order by numbers; they have not been judged yet.

A phone window that passes the lint is at most 532 px wide on the smallest preset (the centred-panel rule warns above 67% of the screen width) and 236 px high from y 38. That is the limit while HUD still stands beside the window. Once the HUD it covers has slid off, the panel grows into the freed width: about 80% of the screen width, up to 90% (owner's judgment, 2026-12-02, relayed by RoDesigner; not a measurement of top games, whose median stays 0.45 in the table below). The height stays the band under the currency row you keep; use the width for wider cards or one more column, not to scale everything up. The lint follows it since kit 0.1.79 (PH-11, read 2026-12-02): when 85% or more of the screen width is free beside the panel (Roblox's touch controls not counted), it warns above 90% and fails above 96%, and a panel 60% of the screen height or taller that is under 65% wide gets a note to grow toward 80%. On the Galaxy A06 80% is 640 px of the 800 px screen, inside the 705 px safe frame; 90% is 720 px, wider than that frame. Where it came from: in a blind pair of HUD builds from one brief the owner picked the build made with RoDesigner and named one fault, that with its side HUD slid off the panels (58.6% and 51.3% of the A06's width) could be bigger.

What top phone games do (84 frames with an open panel, 28 games, 2026-11-12; sizes from 58 framed panels in 22 games; frames / games). The sample is mostly simulator, tower defense, horror, survival and tycoon; frames from one video are near duplicates, so weigh by games.

| Topic | Measured | Use |
|---|---|---|
| Size | Median 0.45 of the screen width x 0.72 of its height; shop and inventory grids 0.45 x 0.72 (0.20-0.78 x 0.44-0.86). No framed panel covers 90% of both axes | A grid panel about 0.6 of the safe frame wide and nearly its full height; a small modal 0.45 wide and as tall as its content. On a phone 0.72 of the screen height is about 0.9 of the safe frame. Once the HUD beside a grid or list panel has slid off, widen it to about 0.8 of the screen width (owner's judgment, 2026-12-02; the paragraph above) |
| Row lists (quests, daily rewards, codes) | 24 / 16 panels with a row list, but phone only 6 / 3 (weak): 3 rows in the first view (phone 3 to 4, a cut last row included); row height 14% of the screen height on phones (51 px at 360), 12% on PC; the panel 0.38 x 0.80 of the screen on phones, 0.41 x 0.65 on PC; rows fill about 90% of the panel width | A list panel is narrower and taller than a grid panel: about 0.5 of the safe frame wide, nearly its full height, 52 px rows, 3 to 4 visible |
| On tablets | 20 / 8 framed panels: 0.59 x 0.46 of the screen (0.20-0.98 x 0.19-0.62), centred 16 of 20; close button 5.5% of the screen height | Wider and shorter in share than on phones: cap the height (table below) |
| Position | Centred 43 / 16 of 58 / 22. Side sheets (unit or tool cards): left 4 / 3, right 5 / 4, 0.18-0.23 of the screen wide. Full-screen menus without a frame 10 / 4 | Centre it. A card the player uses while playing is a side sheet. A results window 165 px under the top of the screen and 16 px over the bottom was named by a judge ("the window sits low"); `Kit.open` warns when a window is under 24 px from one edge of the screen and more than 48 px plus three times that gap from the other |
| Behind it | Untouched 30 / 17, blur 26 / 9, opaque full screen 8 / 4, dim 5 / 5, dim plus blur 2 / 2, unclear 11 / 8. A 24% dim was not visible by eye, so some untouched frames may hide a light dim; no typical dim strength could be measured | Dim or blur, your choice (judgment: it separates a panel from a busy world; one owner's review asked for it). `BlurEffect` blurs the 3D world only and "may render differently on low-end devices" (docs), so pair a blur with a light dim |
| HUD | Stays whole 52 / 26, partly 27 / 9, all hidden 3 / 2. The currency stays visible in all 19 shop frames (8 games). In every blur frame the HUD is sharp, above the blur | Keep the HUD the panel does not cover. Move away only what it covers. Keep the balance on screen: in the panel header when the top row is covered |
| HUD buttons sliding off when a panel opens | Not seen in any of 26 tagged panel clips | A design choice, not a norm. It is cheap and reads well (judgment); `PanelStage` does it for covered layers only |
| Touch controls | The jump button stays visible in 50 of 67 frames whose video shows one | Hide them under a modal panel whose scrim takes every touch (they would be dead); keep them beside a sheet |
| Close | X icon 53 / 21 of 74 / 27; none visible 17 / 10 (info cards, results). The X is inside the top-right corner in 20 and straddles it in 22 of 44; never top-left. Visible height median 0.077 of the screen height (29 px at 375) | X at the top-right corner, about 30 px visible inside a 44 px hit area. A tap outside the panel also closes it (judgment; stills cannot show it) |
| Tabs | None 48 / 19; top tabs inside the frame 8 / 6, floating above it 10 / 5, left rail 9 / 4. Tab bar height median 0.058 of the screen height (22 px at 375) | Top tabs or a left rail; give each tab a 44 px hit area |
| Grid | 4 columns, 2 rows visible (18 / 12 with 2+ rows; 2 to 9 columns); cell 0.20 x 0.18 of the screen height. A cut last row as a scroll hint 21 / 7 | 4 columns on a phone; let the last visible row be cut by the panel edge |
| Timing | Open: 200 ms median where tagged (3 clips, 120-250 ms); 10 clips open within one frame. Scale pop 3, slide from an edge 2, fade 0 | Scale pop from 0.9 in 0.2 s; close in 0.12 s. A chunky genre may keep its own pop (`roblox-ui-genre-studs` section 5) |

`scripts/panel_stage.luau` is a client ModuleScript that does this. Tested on Galaxy A06, iPhone 17 Pro, iPhone 16 Pro Max, Fire HD 10, iPad 10th, Average Windows and HD 1080 presets, with real taps on the A06:

```luau
local stage = PanelStage.new(playerGui, 5) -- scrim DisplayOrder: under the HUD (10), panels above (60)
stage:addLayer(hud.Left, "left")
stage:addLayer(hud.Right, "right")
stage:addLayer(hud.Top, "top")
shopButton.Activated:Connect(function()
	stage:open(shopPanel) -- or { backdrop = "blur" }, { hide = "all", keep = { hud.Top } }
end)
closeButton.Activated:Connect(function()
	stage:close()
end)
stage:open(unitCard, { modal = false }) -- a sheet: no backdrop, touch controls stay
stage:open(buyPanel, { kind = "purchase" }) -- confirm or purchase: only its own buttons close it
```

- A modal `open` dims the game (0.5 black; `"blur"` is a `BlurEffect` of 16 plus a 0.25 dim), slides off the HUD layers whose elements come within 8 px of the panel, sets `GuiService.TouchControlsEnabled` to false, and pops the panel. `close` reverses all of it. A tap on the scrim closes, except for `kind` `"confirm"` or `"purchase"`: a stray tap must not cancel a money decision (an explicit `dismissOnScrim` still wins).
- **Your own panel bodies and dims are `Active`.** A Frame, label or image with `Active` false passes a tap to a button drawn behind it, inside one ScreenGui and across ScreenGuis with different `DisplayOrder`, on touch and with the mouse (measured, sources above). Before the fix every tap on an empty spot of an open panel reached the scrim and closed it (16 of 16 on touch over three layouts, 4 of 4 with the mouse); with `Active = true` on the panel, 0 of 16 and 0 of 4. A dim that was not `Active` let the button under it fire (2 of 2; 0 of 2 once `Active`). `InputSink = All` on a non-Active Frame did not stop the tap (2 of 2, mouse), though the docs describe it as sinking all input: set `Active`. `open` sets it on the panel; set it on any dim or backdrop of your own.
- `stage:destroy()` closes at once and removes what `new` made: the scrim ScreenGui, the `BlurEffect` in Lighting and the keyboard connection.
- Opening another panel while one is open swaps them: layers the new panel does not cover come back, the backdrop does not flicker.
- Put the scrim's `DisplayOrder` under the HUD's, as above, and the HUD that stays is bright and tappable, so a menu button switches panels in one tap. With the scrim above the HUD (the default, 50) the remaining HUD dims with the game and takes no taps.
- `GuiService.ReducedMotionEnabled` makes every change instant.

Sizes that reproduce the measured shares (tested in the simulator; the caps are judgment). Tablet columns are with the tablet scale of section 6, where the cap is in scaled units: 300 units is 510 px.

| Panel | Size | Galaxy A06 | iPhone 17 Pro | iPad 10th (scale 1.7) | Fire HD 10 (scale 1.7) | Average Windows |
|---|---|---|---|---|---|---|
| Grid (shop, inventory) | `UDim2.new(0.6, 0, 1, -16)`, `UISizeConstraint.MaxSize` 560x400, 560x300 on tablets | 423x264: 0.53 x 0.73 of the screen, 4 columns of 84 px cells, 2.1 rows | 450x307: 0.51 x 0.76, 4 columns, 2.5 rows | 707x510: 0.60 x 0.62, 4 columns, 2.5 rows | 575x510: 0.60 x 0.85, 3 columns | 560x400: 0.41 x 0.52, 5 columns |
| List (quests, daily) | `UDim2.new(0.5, 0, 1, -16)`, max 480x400, 480x300 on tablets; rows 52 units tall, 6 apart | 352x264: 0.44 x 0.73, 3.7 rows, a row is 14% of the screen height | 375x307: 0.43 x 0.76, 4.4 rows | 589x510: 0.50 x 0.62, 4.3 rows of 88 px | 479x510: 0.50 x 0.85, 4.3 rows | 480x400: 0.35 x 0.52, 6 rows |
| Small modal (settings, confirm) | `UDim2.new(0.45, 0, 0, 190)`, min width 300, max 420 | 317x190 | 337x190 | 530x323 | 510x323 | 420x190 |
| Side sheet | 150 units wide, 0.7 of the frame height, 8 from the edge | 150x196 | 150x226 | not run at scale | not run at scale | 150x497 |

With the grid panel open on a phone the left menu column stays, and the top currency row and the right action buttons slide off, so the balance goes in the panel header. These sizes are for a panel with HUD left beside it. `PanelStage` moves the HUD and leaves the panel's size to you: when the layers on both sides slide off, size the panel to about 0.8 of the screen width (owner's judgment, 2026-12-02; the paragraph before the survey table).

The tablet and list numbers rest on few frames (tablet panels 20 frames from 8 games, phone row lists 6 from 3), so treat these caps as a starting point: a panel that reads well outside them is not a violation.

**Open and close, frame by frame.** One live simulator measured at 60 fps (three panels; frame-by-frame reads of 2026-11-05 and 2026-11-19), added to the survey above; basis per row as in section 4a. Where it differs from the Timing row: the 0.2 s there is the median of three tagged clips and `PanelStage`'s default, the 250 ms here is one game read frame by frame; both sit inside the measured 133-300 ms.

| Part | Value | Basis |
|---|---|---|
| Panel open | `UIScale` 0.90 -> 1.00 in 250 ms Back Out, growing from the panel's centre (AnchorPoint 0.5, 0.5; the `UIScale` on a plain Frame wrapper). Back Out alone peaks about +1% of the panel's size at 0.58 of the time: add no more. Other measured forms run from 133 ms Quad Out (snappy) to 300 ms Back Out (chunky) | measured, one game |
| Slide up while scaling (optional) | Start 8% of the panel's height lower, same 250 ms Back Out | measured, one game |
| Fade | None: no tagged clip fades the panel | measured |
| Never | Slower than 400 ms; a hero panel that pops with no tween | measured |
| Full-screen page (upgrades, skills) | No scale pop. The dark backdrop fades in over 200 ms Quad Out, then the plate (67 ms) and the rows, 130 ms each at 50 ms steps, at most 12 animated rows; the whole entrance within 600 ms | measured |
| Dim | Black to 0.5 in 200 ms Quad Out from the panel's first frame (`PanelStage`); keep it at 40% or darker. Measured dims are in place within 100-180 ms | judgment (200 ms, 40%); measured (100-180 ms) |
| Blur (optional) | `BlurEffect.Size` 0 -> 16 in 100-120 ms Quad Out with a 0.25 dim; skip it on low graphics quality. `PanelStage` blends it in over 200 ms | measured (117 ms in one clip); judgment (the rest) |
| HUD that leaves | Cut or faded out 67-150 ms after the panel's first frame; none slid (table above) | measured, one game |
| Which groups leave | A window panel: only the groups it covers, each off its nearest edge (menu column left, action buttons right, bars down, a top tracker up). A full-screen page: every group. Counters stay on both, or the balance goes in the panel header (measured, table above). The jump button and thumbstick are the engine's and cannot slide: hide them with `GuiService.TouchControlsEnabled` | judgment |
| Slide out | Until the whole group is off screen: its far edge plus a margin (`PanelStage` adds 80 px for a notch margin), from `AbsolutePosition` and `AbsoluteSize`, divided by the `UIScale` above it. 180 ms Quad In, starting on the panel's first frame, so the HUD is gone before the panel settles | judgment (`PanelStage`, tested on 7 presets); measured, one game (the start) |
| Order | Bottom first, then the sides, the top last: 0, 20 and 40 ms apart, all within 150 ms. `PanelStage` moves every covered layer at once | measured, one game (groups gone at 67, 83, 100 and 150 ms) |
| A group that cannot leave | Behind a notch or on a wide tablet: fade it to 0 in 100 ms instead of sliding. No fade on a full slide | judgment |
| Taps while moving | A group that is moving or off screen takes no taps: set its buttons' `Interactable` to false from the first frame of the slide until it is home | judgment |
| Close | `UIScale` 1.00 -> 0.90 in 120 ms Quad In, then hide; no overshoot, no wind-up. Measured closes take 100-300 ms, 0.35-0.6 of their open | measured |
| HUD back | 250 ms Quad Out to home, starting with the close, in the reverse order (top first); touch controls back on when the close starts | judgment (`PanelStage`, which moves all layers at once) |
| Dim after close | Released over 400-500 ms Quad Out once the panel is gone. `PanelStage` releases it over 200 ms from the start of the close, so it still ends after the panel | measured; judgment (`PanelStage`) |
| Close during the open | Stop the running tweens and tween from the current values to the close targets; never snap to the open end state first. The same for an open during a close. Keep the full 120 and 250 ms | judgment |
| Reduced motion | Listen for changes of `GuiService.ReducedMotionEnabled`: every scale and slide is instant or a Linear fade of 100 ms or less, with no overshoot and no stagger. The dim stays: it is state, not motion | judgment (the setting: docs) |

Check it on a 60 fps capture: count the frames of the open (at 0.2 s the panel settles at frame 12, at 250-300 ms at frames 15-18; the covered HUD is gone by frame 11); tap close at frame 5 of the open and the panel turns back from where it is; open one panel from another and the dim does not flicker; on the Galaxy A06 and a tablet preset every slid group leaves the screen completely; with Reduce Motion on nothing moves and every end state is the same.

**A window that looks designed, opens in order and answers a press.** The rows above make a panel that is the right size and moves at the right speed; a build that followed them and nothing else still read as "a generic kit" to two blind judges, who scored it 66 against 75 (sums of two, out of 100) for a designer's posted quest window (2026-11-21; the designer's window read frame by frame at 30 fps; one comparison, so read the numbers as a lead). Its text and its routine claim scored level or better; it lost on the look of the window (6 against 9 of 10) and on how the window opens. What both judges asked for, as rules (basis: these two judges unless a row says measured):

| Part | Do | Not |
|---|---|---|
| Finish of the window and every card | Four things together: a dark outer `UIStroke` (3-4 px on the window, 2 on cards), a vertical `UIGradient` (the top about 10% lighter than the bottom), a 2 px light line inside the top edge, and a soft shadow under it (a darker rounded Frame 4-6 px lower, 60-70% transparent). One diagonal sheen band at about 10% white across the header or the main card (a white overlay Frame with a rotated `UIGradient` whose `Transparency` is clear, 0.9, clear) | Flat single-colour fills; a stroke as the only depth |
| A hero in the window | One element that breaks the frame: the header emblem or the selected item's art at about 100 px, sitting 16-20 px over the top edge, tilted 6-8 degrees. In a detail pane the selected item's art is the largest thing in it | Every icon the same 40-60 px inside its box |
| Decoration, a little | A plate or band behind the title, a colour per category on each row (a stripe or the icon's tile), labels under HUD buttons where there is room (12 px or more, stroked). Every accent belongs to a thing: a sparkle on the emblem, never loose stars around the window (both judges called those debris, and an emblem with no meaning "an orb") | Bare text on the header; unlabeled HUD icons; ornaments that mean nothing |
| Icons | Images from one icon pack (`roblox-store-art-pack` section 4) on every HUD button, row, reward and the emblem, a different one per item. A build with letters on its HUD buttons, one drawn coin for every quest and drawn tokens scored 5 of 10 on look with both judges, who named the placeholders first | Letters, emoji or shapes drawn from Frames standing in for icons |
| Three levels of value | A dark well (the list), a mid window, and one bright surface (the card that holds the selected item and the main button), so the eye lands on the card first. Bright buttons carry dark text and dark fills white text (`Kit.ink(fill)` picks); on a saturated main button white with a dark outline of about 8% of the text size reads too (an outline under 5% does not carry the text). The bright card is tinted, not white, and has parts: a band behind the art and the title, reward tiles in each currency's colour. The kit's first demo, mid grey-purple on every surface, read as flat to both judges; its second, a plain white card on a purple window, as "a second UI kit" | One mid tone on the window, the panes and the rows |
| Size on a large screen | Size the window by its share of the screen, not by a device class: up to 0.86 of the width or 0.8 of the height on tablet and desktop, whichever comes first, with a larger layout there (more rows, wider card, 18-30 px text) before a larger scale. The demo at 0.8 x 0.74 with 16 px row titles was still called small by both judges. A window laid out for a 280 px phone frame and scaled by a class factor of 1.25 came out at 52% x 47% of a 1280 x 696 view with 11 px row titles, and the judges put it 18 points under an earlier build mainly for that. `Kit.stage(gui, designSize, { share })` does the fit; the phone layout stays in device px at scale 1 | A phone layout at 1x or 1.25x on a desktop; one layout stretched to 2x (it reads chunky and shows three rows) |
| Selected is not ready | Selected: a bright 3 px outline and a row fill about 10% lighter. Ready to claim: its own mark (a green chip or a small bouncing gift on the row). Never the same outline for both | One gold outline for "selected" and for "claimable" |
| Empty space | A short list ends with a card that says why and when (all done, new in 05:11:50), or the pane shrinks to its rows. Blocks in a detail pane sit under each other with one gap; no hole between description and progress | Three rows over a blank pane |
| Open: the window with its panes, content in order | The window grows in from 0.9 with a small overshoot while it fades in (0.2 s) and the scene dims; the header, the tab strip and the panes come with it. The content is staged from the first frame, not after the shell: the list rows slide in with a fade from one side, top to bottom (35 ms apart, each row whole, with its content); the card comes with its art and texts, and beside the first rows its progress slots pop one by one, then the reward tiles and the main button; the close button comes last with a quarter turn. All of it has started by 0.5 s. A card that was an empty sheet for two frames before its parts arrived was marked down by both judges, and so was a wheel window whose wheel and side cards were all staged from transparent ("the window frame lands empty for 2 frames", 2026-11-22): `Kit.open` now brings any listed group that covers a quarter of the window or more with the window, opaque, and plays only its pop or slide. Measured on the designer's window the same order took about 0.95-1.27 s, which both judges liked for its layers and marked down for its length; they also marked every build that showed an empty window for 0.2 s | The whole window as one block popping in; a window that appears at full size in one frame; an empty shell that fills in later; anything still arriving after 0.8 s |
| Close | Measured: the close button goes first (2 frames), then the window fades out while it shrinks or tilts back, 0.2-0.25 s, and the dim goes with it. The HUD that left slides back from its own side while the window fades: start 0.06 s after the close, 0.3 s each with a small overshoot, 45 ms apart (`Kit.dock`). A HUD that was back in place one frame after the fade read as a pop to both judges. To fade a window make its root a `CanvasGroup` and tween `GroupTransparency` (one per window, never one per row). A loop of your own that writes a piece's transparency every frame (a breathing outline) beats the fade: one build's highlighted row outline stayed at full strength through the close and was left alone on the screen when the window had gone (both judges, 2026-11-22). Breathe a halo with `Kit.glow(card, color, { breathe = 2 })`, which moves its size, or stop your loop as the close starts | An opaque shrink that ends in a one-frame cut; a HUD that slid out on open and pops back on close; a piece left on the screen after its window |
| A press is seen before the state changes | The pressed button squashes in 60-80 ms by about 10 px on each side (0.88 on a 60 px button, 0.95 on a 360 px row), rebounds past 1 and settles in about 150-200 ms (Back Out), with a white flash of 100-120 ms; the label and colour change after the squash, not on the press frame. The squash is about the button's middle: a `UIScale` scales about the `AnchorPoint`, so a row anchored at its corner shrank into that corner (named by both judges). `Kit.card` scales layers centred inside it, whatever the anchor | A button that is already "Claimed" on the frame it is pressed; a row that shrinks toward its top-left corner; a wide row squashed to 0.88 |
| Claim | About 1.3 s in all: by 80 ms the button has changed; copies of each reward by what it gives (one piece for one item, that many for 2-5, six for a currency amount, eight for a big one; never more than eight: a judge counted "about 8 bunny copies" flying for an x1 prize and another saw "a smeared stack of cloned icons"), at about three quarters of its size so the pile does not cover the amount beside it, burst out of its tile into a loose ring (0.16 s), then one after another fly on an arc to their counter and shrink into it (0.4 s each, 70 ms apart) while the tile keeps a greyed copy, the same on every later visit; the counter counts up for 0.5 s with a "+N" label of 20 px or more (1.25 x the counter's text) with a dark outline that moves about 26 px and is gone in 0.7 s (under the counter when the counter sits at the top edge), and bumps to about 1.15 on arrival; then the list re-sorts. Every reward has a counter or a visible place to land. The designer's claim (measured, about 1.1 s) flew one tile; both judges asked the builds for the burst and for a "+N" they could read | A claim over 2 s; three or four coins in single file; an 8 px "+N"; a reward that flies off the screen because nothing shows it |
| Re-sort | Rows are keyed by item and tween to their new places over 0.25-0.4 s. A row that would cross others (the claimed one going down) never passes them: it shrinks a little and fades where it is (0.12 s), the others close the gap, and it slides in at its new place with a fade, about 0.5 s in all (`Kit.list`). The outline, badge and selection are children of their row and travel with it; the detail pane changes on the same frame the selection does | A row drawn over its neighbours on the way (the kit's second demo lifted the claimed row over the others, and both judges read the rows it covered as rows that vanish); a one-frame jump; a row sliding under its neighbour; an outline left behind over the wrong row or around a gap |
| Bigger moments for bigger rewards | A routine claim is the flight above. A weekly or special one adds, behind the reward: rays that turn about 30 degrees over 0.8 s, 20-30 star pieces over the window, a stamped title that scales 1.4 -> 1.0 in 0.25 s over the window's middle, stays about 0.6-1.5 s and leaves upward before the list re-sorts (`Kit.stamp(gui, hold, done)`): a title still fading over a re-sorting list was marked down (measured: the designer's special claim ran a hue-cycling ray burst behind the emblem and a full-width title for about 1.5 s). The title never covers the window's header: a LEGENDARY title over a wheel window's title, timer and close button was named by both judges of a sitting (2026-11-22). A payoff the player sees again and again (a spin, a roll, a hatch) takes about 1.8 s from the stop to the last piece landing; the same judges called 2.9 s long for a repeatable spin. Only the top tier runs longer, and a tap skips to the end | One sequence for every tier; a title over the header |
| A wheel or a roll stops | The winner is marked where it landed before anything covers it: the segment under the pointer flashes white, swells about 10% and settles in 0.3 s (`Kit.win` on the segment), then the dim and the title. Rarity shows on the item itself (a rim or glow in the tier colour, a short name or tier tag), not only in an odds table: equal segments labelled "x1" for a 22% and a 2% prize were marked down | A dim that comes on the frame the wheel stops; prizes told apart only by an odds list |
| A result lands (a place, a grade, a score) | The payoff sits on the piece that lands: it stamps in, flashes white and swells (`Kit.win` on its card), with rays and a burst behind it for a good result and a small pulse with no burst for a plain one. The rest of the window stays readable under it: a white wash over the whole results window at about a third of full strength for 0.2 s turned it light grey and hid the race time, and both judges named it (2026-11-22) | A flash over the whole window; the same payoff for a 1st and a 5th place |
| A crate or chest opens inside a result | The crate lifts to the middle over a dim, shakes in rising beats, opens with a flash and a burst in the tier colour, and the item card holds about 1 s or waits for a tap with a "Tap to continue" line under it; then the item flies home on an arc that stays on the screen and the crate's tile shows it opened. Rewards, a level-up and a crate in one result that ran about 7 s, with the card held 1.7 s and no way to skip, were marked down by both judges, who asked for about 4.5 s and a 1 s hold. The colour builds one way, from the crate's own tone up to the tier's: a crate that went gold, then grey, then blue read as a downgrade to a judge | A long still hold; an item that flies off the screen; a tile that still says "x1" after its crate was opened (a judge) |
| An action the player cannot pay for | Show it before the press: while the counter is short its amount and the cost on the button turn the `warn` colour. The press still answers: the button shakes, its label says why for about 1.5 s ("NO FUEL"), the counter flashes and a callout under it says what to do, 8 px or more clear of the window's border and the screen's edge (`Kit.clamp`). The build that did this was praised for the answer; a judge marked down its button that looked ready at 0/5 and its callout over the window's top border | A ready-looking button at 0/5; a press that does nothing |
| A tour or demo that loops | Set the sample counts while the window is closed, or start each count from the number on the screen: a currency counter that jumped back from 62,800 to 48,250 as the next window opened was named by a judge | A counter that runs backward on the screen |
| Several results at once (x5, x10) | The result cards sit in the middle of the panel, a total line under them ("+600 coins, +30 gems, 1 egg") and a collect button; the flight starts on collect or after about 1.2 s. A row of five cards in the top half over an empty band, with no total and no collect, was named by both judges | Cards stuck to the top of an empty panel; a burst before the player has read the results |
| A row that gains an item (recent prizes, a feed) | The items already there move over first (0.15-0.2 s), then the new one pops into the gap. A new chip that slid in over the first chip before the row shifted was named by a judge | An item entering on top of its neighbour |
| Tab change | One pill slides under the labels to the chosen tab in 0.2 s and the label colours change with it; the other tabs never repaint (`Kit.tabs`). The old rows leave and the new ones arrive in about 0.5 s in all; the list is never blank for a visible moment (the designer's 0.8 s change with an empty list for 0.2 s was marked down by both judges). The rows that stay must move too: with `list:show(keys, false, true)` they dip to 40% and step in from the left 30 ms apart, done in 0.3 s. A list that only dropped the rows of the other tab was named "static" by both judges. The detail pane changes in place: set the new texts and images, then dip its parts to 35% and bring them back in 0.14 s (`Kit.refresh`). A pane staged again from empty showed a blank card with the main button already on it for two frames, and both judges named it. A pane whose whole page changes with the tab (craft and upgrade) swaps pages with `Kit.swap`: a page shown at once with its parts still hidden, beside the old rows, was "an empty skeleton" and "a mixed frame" to two judges | Two tabs half-lit in a cross-fade; a pill drawn over the labels; a slow change through an empty list |
| Text floors still win | Secondary text of 7-9 px on a phone was marked down in the designer's window. Keep the floors of section 0 and `roblox-ui-typography` while adding all of the above | Shrinking text to make room for decoration |

`scripts/window_kit.luau` is a client ModuleScript that does the rows above: the finish and the motion are Frames, the icons are image ids you pass in. Its demo was judged blind against the designer's window three times (2026-11-21; two judges each time, sums out of 100; the same judges' brief, new judges): the first demo 56 against 80, the second 70 against 79 and 65 against 76, the third (this one) 76 against 76, with one judge putting it first. In the same last sitting two windows built by a smaller model scored 65 and 64. What the third demo was still marked down for: flat fills next to the designer's glass and bevels, a list that does not move on a tab change, the title banner over list text, coins flying across the card's title. After that sitting the banner was made larger, the main button got more room under it and the close button was moved to the front of the open; those changes were linted, not judged. A fourth demo answers that list (glass streaks on the window, the header, the list well and the card, a fade over the list's bottom edge, rows that step in on a tab change, a title that dims the window under it, a flight that bends away from the card's title, the card's art leaning over its corner, three sparkles): linted on four devices in five states with no error or warning. Judged in a fifth sitting: 74 against 68 for the third demo and 82 for the designer's window (other judges than before, so compare within a sitting). Still named: one navy tone for frame, list and cards, empty space under a short list, the "+N" of a counter over the close button, small grey captions on the light card. Answered after that sitting, linted and not judged: a deeper well under bluer rows and a whiter card, `list:foot`, `rise` in `Kit.count`, darker muted ink, the source's swell in `Kit.fly`. `scripts/window_kit_demo.luau` builds a missions window over a HUD with it and plays every motion in a loop. Copy both as ModuleScripts into one folder (`ReplicatedStorage.Ui.WindowKit`, `WindowKitDemo`); read the demo for its structure and calls, and bring your own palette, font and icons. The ScreenGui must use `ZIndexBehavior` Sibling (`Instance.new("ScreenGui")` defaults to Global; the kit warns once). WindowKit has its own dim and sizing (`Kit.scrim`, `Kit.stage`): use those or `panel_stage.luau` for a window, not both (PanelStage scales the panel it opens, and so does `Kit.open`). Closing a window while one of its effects is still running (a reward flying to a counter, a "+N", a selection ring, a tab slide, a banner `set()`, a callout) does not error: the effect runs unseen and its callbacks still fire (kit 0.1.94 fix, ported 2026-12-04). Checked in a Lune stub of the engine, 11 of 11 cases (2 of 11 before); the stub assumes Roblox lets a script parent into and write properties of a destroyed instance, so it is not yet confirmed in Studio Play (relayed by RoDesigner).

| Call | Does |
|---|---|
| `Kit.stage(gui, designSize, { share, min, max })` -> `layer, scale` | A full-screen layer whose `UIScale` takes a window laid out at `designSize` px to `share` of the screen (default 0.86 of the width or 0.8 of the height, whichever comes first, between 1 and 1.6) and follows the screen. One call per layout: the phone layout at scale 1 (`max = 1`), the larger one fitted |
| `Kit.scrim(gui, { transparency, blur })` -> `{ show, hide }` | The dim behind the window in its own ScreenGui that covers the whole screen (`ScreenInsets` None), one `DisplayOrder` under `gui`, with a light blur of the 3D world (a `BlurEffect` in the camera, size 10; `blur = 0` for none). What stays bright (the counters) lives in `gui`, the HUD that dims in a ScreenGui under it |
| `Kit.card(parent, { size, position, anchor, fill, stroke, radius, strokeWidth, depth, gloss, rim, glass, inset, pattern, sheen, padding, button, hit, role, breakout })` -> `outer, content` | A surface with the whole finish: dark outline, lighter top, light line inside the top edge, shadow `depth` px lower; `gloss = 0.5` adds a light band over the top half (a main button, a header band, a reward tile) `rim = true` a faint light line inside the outline (the window) and `glass = true` two still diagonal light streaks under the content, as on a pane of glass (`glass = 0.9` sets their transparency: 0.86-0.92 on a dark window, a header and a list well, about 0.8 on a near-white card; not on list rows, where a judge read them as a smear over the text). `inset = true` lays a soft dark band inside the top edge, an inner shadow for the well that holds a grid or a list. `pattern = { kind, color, transparency, size }` lays a quiet motif on the fill under the content (`"bubbles"`, `"dots"`, `"stars"`, `"stripes"`; white at 0.88 and 12 px by default): one per screen, on the window or its header, never on cards with text (a judge asked for "a subtle bubble or caustic texture on the window body"). Flat fills with only a lip highlight were the first defect both judges named beside a glassy window. Place, size and animate `outer`; parent your children to `content`. Its layers sit centred inside it and the kit's scale motions scale those, so a press, a pop and a pulse are about the card's middle whatever its `AnchorPoint`. Use it for the window, panes, rows, tiles and chips, so they share one depth. `hit = 44` adds an invisible tap pad to a button drawn smaller; `role` and `breakout` set the lint's `KitRole` and `KitBreakout` attributes |
| `Kit.button(parent, { text, textSize, fontFace, fill, ... })` -> `button, label, content` | The same finish on a TextButton. The label colour is picked for contrast on the fill (`Kit.ink(fill)`: dark ink on a bright fill, white with an outline on a dark one) and follows `Kit.recolor`; `textColor = white` on a saturated fill gives white with a dark outline of 8% of the text size. A light band over the top half by default (`gloss = 0` for none) |
| `Kit.fitText(label, least?)` | A label whose text changes (a name, a price, an amount on a tile) steps its `TextSize` down until the text fits its box, at most to `least` px (default 0.75 of the size it was given), and back up for a shorter text. Call it after setting the text. Use it instead of `TextScaled`: inside the stage's `UIScale` a scaled 26 px title drew at 16 |
| `Kit.icon(parent, image, { size, position, anchor, tile, radius, depth, color, ink, line, gloss })` -> `holder, image` | An icon from your pack; with `tile = colour` it sits in a rounded well with the kit's finish (a row icon, the selected item's art, an emblem). With `color` a white glyph from a one-colour pack is painted as a game icon: the fill lit from the top, a dark outline in its own hue, a drop shadow and a gloss band (11 images of one texture). Both judges of a sitting marked bare white glyphs down ("thin flat glyphs"). One colour per currency or item, for example cash green, gems cyan, fuel amber (judgment) |
| `Kit.tabs(parent, { { key, text, count } }, { size, fill, pill, textSize, hit, onPick })` -> `tabs.pick(key)`, `tabs.count(key, n)` | A tab strip: one pill slides under the labels, the label colours follow it, counts change in place |
| `Kit.recolor(card, fill, stroke?)` | A state change (in progress, claim, claimed, locked; selected) in 0.12 s |
| `Kit.finish(frame, { radius, stroke, lift })` | Corner, outline and lighter top on a Frame you already have (no shadow, no extra children) |
| `Kit.trim(host, { kind, color, size, edge, stroke, z })` | A trim along the bottom (or `edge = "top"`) edge of a header, a plate or a window, centred on that edge and clear of its rounded corners: `"scallop"` (beads), `"wave"`, `"zigzag"` or `"studs"`, in a colour of the window's palette; one per window. The two judges of a sitting asked for "a themed header trim (wave or coral strip)" and "a trimmed header plate" |
| `Kit.press(button, fn)` | Squash about the middle in 80 ms (0.88 on a small button, 0.95 on a wide row), rebound with overshoot, a light flash; `fn` runs after the squash. A mouse lifts the button to 1.03 on hover; a touch does not (a tapped card would stay lifted). `Kit.squash(button)` is the motion alone; `Kit.shake(button)` is the "no" (three swings, 0.26 s). With a tap pad the pad takes the tap: connect through `Kit.press`, or to `Kit.target(button).Activated` |
| `Kit.open(window, groups, { shell, budget, delay })` | The window grows in from 0.86 with an overshoot, 0.2 s, and is opaque from its first frame (a 0.16 s fade showed the HUD through the window for 3 frames, a 0.05 s fade still for one: "a see-through ghost", judges of three sittings); each group starts 50 ms after the one before, so a grid does not wait for the rail: `{ item or { items }, "pop" | "slide" | "fade" | "spin" | "fill", gap = seconds, from = side }`. List only what is staged (rows, the parts of a pane, the close button, an emblem): the header, tab strip and panes come with the window. A group that covers a quarter of the window or more (a pane, a column of cards) is taken as content: it is opaque from the first frame and only its pop or slide plays, from the first frame (the kit warns once). A wheel window whose wheel and side column were staged showed both arriving from the first frame after this, where before it was empty for 2 frames (Studio Play capture, 2026-11-22). A group of three or more pieces, each under a tenth of the window's area, is dealt one by one even when together they cover a quarter of it. Cards of one grid or list that a group leaves out (same parent, same size within a quarter, visible) join it after the listed ones, and the group runs in reading order, row by row (the kit warns once): a build that staged only the first row of its grid showed "row 2 is fully visible at 0.27s while row 1 cascades in afterwards" to a judge. `shell = false` for a pane inside an open window |
| `Kit.close(window, { first = closeButton, done })` | The close button pops out while the window fades and shrinks, 0.22 s from the press (a 0.05 s wait for the button was "dead time before the window leaves" to a judge), then everything is put back for the next open |
| `Kit.swap(oldPage, newPage, groups, { budget, delay })` | A tab that changes the whole page of a pane: the old page fades out where it is in 0.08 s, the new one fades in from 0.06 s and its groups arrive as in `Kit.open` (`shell = false`). Use it instead of setting `Visible` and staging the new page from empty |
| `Kit.dock({ { item, side }, ... })` -> `{ hide, show }` | The HUD that gives way: `hide()` as the window opens slides each item off its side (`"left"`, `"right"`, `"top"`, `"bottom"`) and fades it out in the first 0.1 s, each side in its own order, so nothing shows past the corner of the window that lands there; `show(0.06)` as it closes brings them back one after another with a small overshoot |
| `Kit.refresh(items, popItems, { delay })` | The content of an open pane changed (another row, another tab): after setting the new texts, the items dip to 60% and come back in 0.14 s; the ones in `popItems` also grow in from 0.9. `delay` (seconds) keeps them hidden until then, for a reveal: the picture first, its name and tags about 0.15 s after it (a name, a rarity tag and a NEW badge up while the art was still a silhouette were "Reveal order is off" to a judge). Pass the texts and images that changed, never the card under them (a whole detail card that dipped to 35% was read as a blink and a reload by two judges) |
| `Kit.list(scroll, { gap, pad, fade, fadeSize })` -> `list:add(key, row)`, `list:show(keys, instant, wave)`, `list:order(keys)`, `list:reveal(key)`, `list:shown()`, `list:foot(gui)` | Keyed rows without a `UIListLayout`: the kit sets each row's Y. `foot` puts one piece under the last row (when new missions come, "all caught up") that follows every re-sort: a short tab that ended in an empty well was named by both judges. When rows leave and the footer would rise over them, it fades out with them and comes back at its new place after the new rows. `fade = wellColour` lays a fade over the top and bottom edges (`fadeSize` px, default 28), so a row cut by the frame fades into the well instead of being cut hard; each shows only while there is more past its edge. `show` makes rows leave, arrive and move in one go (a tab change with no blank list; `wave = true` also steps the staying rows in); a row that would cross others (a claimed row going down) fades where it is, the others close the gap, and it slides in at its new place |
| `Kit.grid(scroll, { columns, cell, gap, pad, ring, sockets, fade, fadeSize })` -> `grid:add(key, card)`, `grid:show(keys, instant)`, `grid:select(key)`, `grid:reveal(key)`, `grid:shown()` | Keyed cards without a `UIGridLayout`: the kit sets each card's cell. `show` is a filter or a category change: the cards that leave fade in 0.1 s, a card that stays slides when its new cell is the next one in its row (or when whole rows went and every move is straight up), any other fades where it is and arrives at its new cell, and new cards are dealt in 30 ms apart. No two cards overlap at any frame. `ring = colour` gives a selection ring 3 px outside the card that travels between cards in 0.14 s and waits for its card during a `show`; the grid keeps room for it at its edges. `sockets = colour` draws an empty socket in every free cell of the rows in view, so a filter with five items is not a blank well. A grid that was scrolled down deals the whole shelf again at the top (every card fades where it is first): a scroll during the change read as a one-frame jump. `fade = wellColour` fades both edges as in `Kit.list`: names "cut off at the top of the scrolled grid, with no fade mask" (a judge; the other named it too) |
| `Kit.fly(fromGui, toGui, { amount, count, size, scatter, arc, lift, spark, onArrive })` | The source swells to 1.18 for a moment (`lift = false` turns it off), then copies of a reward burst out of its tile into a ring, then fly each on its own arc and shrink into the counter, 0.4 s each, 70 ms apart (closer for six or more, so the stream takes about 0.45 s); the counter bumps as each lands and a glint pops on it as the last one lands (`spark = false`: none). Pass `amount`, what the player gets: one item flies as one piece at 0.9 of its size, 2-5 as that many, an amount up to 99 as six and more as eight, smaller (0.6) when there are six or more. `count` sets the pieces instead, never more than eight or than `amount`. A rarer prize gets a bigger moment (`Kit.burst` tier, `Kit.stamp`, `Kit.win`), never more copies of itself. A negative `arc` (-0.3) bends the flight the other way: use it when the default arc carries the pieces across a title |
| `Kit.count(label, from, to, { rise, color })` | Counts in 0.5 s with a bump and a "+N" of 20 px or more that moves 26 px and is gone in 0.7 s; a gain is green, a spend ("-N") red, and the outline is a dark shade of the label's colour (`color` sets it). The "+N" goes under a counter at the top edge and over any other one; when a window that `Kit.open` has shown is in its way it takes the other side of the counter, or the space left of the counter's plate (and of the plates and "+N" beside it), so it never lands on a window's frame or close button. `Kit.comma(n)` formats |
| `Kit.textSize(px, face)`, `Kit.caps(face)`, `Kit.CAPS` | The TextSize at which a face's letters are as tall as the kit's own faces at px (Sarpanch, TitilliumWeb, Teko: 14 -> 16, 20 -> 23; a face that draws at 0.52 of TextSize or more keeps px). `Kit.button`, `Kit.tabs` and `Kit.badge` do it to their own labels: pass them plain sizes |
| `Kit.glow(card, color, { size, strength, breathe })` -> the Glow frame | A soft halo round a card, four outlines under its body, each wider and fainter (default reach 10 px): the selected row, a ready reward, the premium piece on a dark or matte screen. `breathe = 2` swells it by a third and back every 2 s (its size, so the window's fade still takes it); `Kit.pulse` it for a ready state; `Kit.glow(card, nil)` takes it off. One to three on a screen. It does not show on a light surface |
| `Kit.burst(anchor, { tier = 1..3, color, radius })`, `Kit.stamp(gui, hold, done, { dim = window, dimTransparency, avoid = card })` | The bigger moment: rays that turn behind the reward or the title and four-point glints thrown outward; a title that lands at 1.4 -> 1, holds and leaves upward (`done` runs then: start the re-sort from it). `dim = window` darkens a band of the window behind the title, in a deep shade of the window's own fill (`dimTransparency`, default 0.45), for as long as it stays, so the title is its own layer: a banner laid straight over the list read as "covers list text" to both judges, and a dark veil over the whole window "turns the whole window muddy grey" to a judge of a later sitting. `avoid = card` keeps the title off the card the moment came from: just above or below it inside the window, or beside it when both of those still cover a third of it (the kit warns when it still covers half). Put the stamped title in a layer above the flying rewards (a second `Kit.stage` with a high `z`) so they pass under it. A title across the top fifth of the window it lands over (`dim`, or a window `Kit.open` has shown) is moved to that window's middle for the stamp (the kit warns once); one wholly above the window's top edge stays. Every title is kept 12 px inside the screen |
| `Kit.banner(parent, { title, sub, color, tier, art, width, position, z, fontFace })` -> `{ root, title, sub, art, set }` | The banner of a big moment (a rare find, a level, a jackpot), built hidden: a ribbon in the tier's colour with folded tails, the title at about twice the body size with a dark outline, an optional second line on a dark tab under it and an optional picture in a medallion over it; tier 2 adds a fan of rays turning slowly behind it and glints, tier 3 a second fan and a sheen. Land it with `Kit.stamp(banner.root, hold, done, { dim = window, avoid = card })`; `set(title, sub, color, tier, art)` dresses it for the next moment. A builder's own dark bar was "a small flat purple bar with a tiny label" and "a plain purple bar with an about 8 px 'EPIC FIND!' label" to the two judges of a sitting |
| `Kit.charge(card, { color, time, done })` | The build-up between a press and a reveal (a find, a hatch, a roll), started on the press: the card swells to 1.1 and trembles harder and harder, a light in the colour of what is coming rises round it and over its fill, and sparks fly into it; `done` runs at the end (`time` 0.45 s by default; 0.3 for a common find up to 0.6 for the rarest): start the reveal there. A wait, then a breathing glow and a small shake, were "About 1.1 s of nothing happening between selecting the silhouette and the reveal" and "About 1.2 s of dead hold with nothing moving" to the two judges of a sitting |
| `Kit.callout(card, target, { hold, gap, done })` | A short answer beside what was pressed (not found yet, locked, need 1 more): the card is set just above the target and centred on it (below it when there is no room above), inside the window and the screen, with a tip pointing at it; it pops in, holds (1.6 s by default) and goes. Put the card on a layer above the window. A toast on the window's foot "covers the progress bar and its milestone chips" (a judge; the other named it too) |
| `Kit.clamp(gui, margin)` | Moves a popup (a callout, a toast) by its Position until it is at least `margin` px (default 12) inside the screen's safe area. A "Need 1 ticket!" callout set beside the counter it pointed at ran to 2 px from the screen's edge (a judge, 2026-11-22). Call it after placing the popup |
| `Kit.win(card, { color, grow, ring })` | The card that got the reward answers: it lights up white and falls back (0.3 s), swells 7% and settles, and its outline leaves as a ring that grows 14 px and fades. Call it as the reward lands (the first piece of `Kit.fly` arriving, a claim), with `Kit.burst` on the icon for the bigger ones. The kit's shop example scored 63 of 100 with two judges partly for "faint payoff, no card pop": a burst behind a small icon on a light card is not seen (seen on stills after the change, lint 0/0 on four devices; not judged again yet) |
| `Kit.steps(parent, total, done, { color, empty })` -> `steps:set(n)` | Progress as step slots; a newly done step pops |
| `Kit.sparkle(parent, position, size)` | A small four-point star that twinkles at rest: two or three on a window (beside the emblem, at the end of the title, on a far corner), never over text |
| `Kit.badge(hudButton, n, { beside })` -> `badge.set(n)` | A count on the corner of a HUD button (rewards that wait): hidden at 0, pops when the number changes. On a tab pass `beside = nameLabel`: the badge sits 4 px after the name's text, centred on its line, inside the tab, and follows the text; a corner badge moved inside a tab "overlaps '9/12' on the selected Coral Reef tab" (a judge) |
| `Kit.pulse(gui)`, `Kit.bob(gui, px, period, tilt)`, `Kit.sheen(card, { period, force })`, `Kit.still(gui)` | Idle motion: the breath of something ready, the float of a hero emblem, a light band across a card (none on a matte skin unless `force = true`, for one call-to-action); `still` stops them |
| `Kit.slideTo(marker, tab)`, `Kit.fade(gui, to)`, `Kit.glint(parent, size, color)`, `Kit.settle(root)`, `Kit.run(...)`, `Kit.screen()` | A marker of your own; fade a whole item to 0, 0.4 or 1; a sparkle; end every motion under a root now; your own motion on the kit's clock (it follows `Kit.tone` and Reduced Motion, which a `task.delay` of your own does not); the real viewport and whether it is a phone, waited for past the placeholder size of a client's first frames |

**The demo's two layouts** (Studio Play, Device Simulator, 2026-11-21). A list with a detail card does not fit the 0.43-0.5 list panel of the table at the top of this section; these sizes passed the RoDesigner kit lint (0.1.30) with 0 errors and 0 warnings on the Galaxy A06, iPhone 17 Pro, iPad 10th Generation and HD 1080 presets, with the HUD alone, the window open and after a claim:

| | Phone (device px, scale 1) | Tablet and desktop (design px, fitted by `Kit.stage`) |
|---|---|---|
| Window | 532 x 236 on the A06's 705 x 280 frame: 66.6% of the screen width (the lint warns above 67%), 38 px under the frame's top so the two counters stay above it | 760 x 440, fitted to 0.86 of the width or 0.8 of the height: scale 1.29 on a 1309 x 707 view (75% x 80% of it), 1.34 on the iPad, 1.6 at 1080p (the cap) |
| Header band | 36 px: icon, title 18 px, tab strip 228 x 24 with 14 px labels, close button 24 px with a 44 px pad | 54 px with a light band over its top half: emblem 70 px breaking the top-left corner, title 30 px with a 2.5 px outline, tab strip 318 x 36 with 16 px labels, close button 38 px |
| List | 228 px wide; rows 46 px, 6 px apart: three whole rows and 37% of the fourth as the scroll cue | 350 px wide; rows 70 px, 8 px apart: four rows and 47% of the fifth |
| Row | icon tile 32 px, title 14 px, bar 8 px; the READY chip takes the count's place | icon tile 50 px, title 18 px, bar 10 px with the count beside it, then what the mission pays (a 20 px coin and the amount); the READY chip at the top right |
| Detail card | art 46 px, title 16 px, tag and countdown, two lines of 14 px text, step slots 10 px; reward tiles (44 px high, "+2K") and the main button share one row | a tinted band holds the art (76 px), the title (26 px), the tag, the countdown and 16 px text; under it a caption over the step slots (16 px high), reward tiles 60 px high in their currency's colour (cream for coins, lilac for gems) with 24 px amounts and the reward's name, and the main button 58 px high with a 28 px white outlined label |
| HUD | menu buttons 36 px with 44 px pads in the top-left corner, clear of the thumbstick's corner; action button 128 x 54 just above the jump button's corner; counters 100 x 26 with 14 px numbers | menu buttons 58 px with labels at mid-height on the left, a count badge on the missions button; action button 170 x 64 in the bottom-right corner; counters 132 x 40 |

Read frame by frame on a 15 fps capture of the demo (a 1309 x 707 view): on open the window is on screen with its header, its panes and the card's art and texts in the first full frame while the rows slide in, and the last pieces (the reward tiles and the main button) are in by about 0.27 s; on a claim the button reads CLAIMED about 0.1 s after the press, seven coins and seven gems burst into two piles and land between 0.6 and 1.0 s while the counters count up, and from 1.1 s the claimed row fades, the others close the gap and the row is back at the bottom by about 1.6 s; the tab pill slides in 0.2 s and the card's content dips for one frame; on close the menu buttons and the action button slide back over about 0.35 s while the window fades. While the window is open the touch controls are hidden (`GuiService.TouchControlsEnabled`), the world behind the dim is lightly blurred and the counters stay bright over it.

**What a designed window trips first in a UI lint**, and how the kit and the demo avoid it (the RoDesigner kit lint 0.1.30; from two builds by a smaller model and this demo). The rule names are that lint's; the measures hold for any UI.

| Finding | Cause | Do |
|---|---|---|
| A card's shadow "crosses the stroke" of its own body (ICON_ON_STROKE) | A small painted frame that overlaps an outlined sibling without holding it is read as an icon sitting on the outline | The shadow starts at the body's place and is taller by the drop, 1 px larger all round under the outline (`Kit.card` does this); an icon stays 3 px or more inside its tile |
| Outlines merge or double (OUTLINE_MERGE, DOUBLE_STROKE) | Two outlined siblings closer than 6 px, or an outlined child closer than 6 px to its outlined parent's edge | 6 px of air between rows, tiles, step slots and panes, and 6 px of inset inside a pane; a piece that must touch (the tab pill in its track) has no outline |
| A row is "cut" at the list's end (SCROLL_EDGE_CUT) | The last visible row shows less than a quarter or hides less than a quarter | Pick the row height so the list ends on a whole row or shows about a third to a half of the next one |
| Tap target under 44 px, tabs and close button (TOUCH_SMALL) | The drawn size is the tap size | `hit = 44` on `Kit.card`, `Kit.button` and `Kit.tabs`; neighbouring tab cells keep 8 px of air so a pressed tab never reaches the next (STATE_OVERLAP) |
| Text outline too heavy (TEXT_STROKE_HEAVY) | An outline over 13% of the text size under 40 px, or over 8.75% from 40 px, after every `UIScale` | 1.5 px on 14 px text, 2 px on 18-26 px; check the title at the largest scale |
| Low contrast on a bright button (CONTRAST) | White text on a light green or amber fill with no outline, or one under 5% of the text size (the lint counts an outline from 5%, and calls it heavy over 13%) | Dark ink on bright fills (`Kit.ink`), or white with a dark outline of about 8% (`Kit.button` with `textColor`) |
| A badge's number has no outline (BREAKOUT_STROKE, TEXT_SMALL) | A 13 px number on a badge that hangs over the world | A 1.5 px dark outline on it (`Kit.badge`) |
| Window too wide on a phone (PH-11), menu buttons or currency row too large (PH-1, PH-5) | Shares of the whole screen: over 67% of the width (over 90% once the HUD beside it has slid off, kit 0.1.79); menu buttons over 0.12 of the height with their shadow; a currency row over 0.09 | The phone column above |
| Button in the thumbstick or jump corner (KEEP_OVERLAP) | A HUD laid out for a desktop | Rail in the top-left, action button above the jump button's corner (section 3); mark roles with `role = "menu"`, `"action"`, `"currency"`, `"panel"` |
| An emblem over the frame's edge (TAB_STRADDLE, CHILD_OUT_OF_BOUNDS) | A piece that breaks the frame looks like a mistake unless it is declared | One such piece per window, marked `breakout = "ornament"`, sticking out by less than half its size, 6 px or more from the screen edge and not over a control or text. An ornament that leans out of a card inside the window (the detail card's art): also set the attribute `KitHost` on that card, or BREAKOUT_OVERLAP reads the card's own body as another component under it |
| No dim under the window on a notched phone (MODAL_SCRIM) | A dim inside a safe-area ScreenGui stops at the safe frame | `Kit.scrim` |

Limits: the demo was linted at rest, not mid-scroll (a build by a smaller model saw lint findings on rows scrolled out of view); not tried with a gamepad, on a real phone, in portrait, or with Reduced Motion on a device. The fade of a closing window is per object, so stacked cards show through each other for those frames; a `CanvasGroup` root fades as one image at the cost of its memory. Found while building it: a weak-keyed table lost Instance keys that no Luau variable held although the instances were still on screen, so a record of "what to restore" must be a strong table that is cleared by hand.

## 4a. HUD motion

How each HUD element moves, measured frame by frame on 60 fps captures of five live games and on 33 more UI clips (two sets of reads, 2026-11-05 and 2026-11-19). Times are in ms; easing names are `Enum.EasingStyle` and `Enum.EasingDirection` (Quad Out is style Quad, direction Out).

| Basis | Means |
|---|---|
| measured | read frame by frame on several clips or games |
| measured, one game | one live game, or a read of medium confidence |
| judgment | no clip shows it; set from the measured rows around it |
| not measured yet | no clip covered this case; a starting value. Capture your build at 60 fps and tune it |

Panels and the HUD that leaves for them: section 4. A stud-style game may keep its house pop, button squash and count-up (`roblox-ui-genre-studs` section 5, judgment); the rows here are what live games were measured doing.

**Rules for every element**

| Rule | Value | Basis |
|---|---|---|
| Entrances are fast | Routine UI 133-270 ms, Quad or Exponential Out. Over 400 ms only for a hero moment | measured |
| Exits are shorter | 0.35-0.6 of the entrance; a hard cut is fine for routine UI | measured |
| Overshoot only on pops | Back Out on pops: live games overshoot 1-5% of the element's size, Roblox's Back Out about 10% of the travel. None on toasts, fills, counters or closes | measured |
| Counts are short | 330-850 ms for any size of change, never over 1 s | measured |
| Flash | On for 1 frame, then a 330-530 ms decay, Quad or Exponential Out; at most 3 a second (`roblox-feel-audio-vfx` section 3b) | measured |
| Stagger | 50-83 ms between the items of a dense grid, 117-150 ms between cards; the whole group within 600 ms, at most 12 animated items | measured |
| Idle motion is tiny | A glow breathes +7% brightness over a 2.1 s period; a featured item moves under 1 px. No large bob, no spin on HUD icons | measured |
| Never tween | `TextSize`, `UIStroke.Thickness` or the `Size` of text: scale a `UIScale` instead (`roblox-ui-typography` section 4) | docs |
| Reduced motion | With `GuiService.ReducedMotionEnabled`, scales and slides are instant or a Linear fade of 100 ms or less; no flashes, loops or shakes; counts take 300 ms or less | judgment (the setting: docs) |

**Counters (currency, power, any stat readout)**

| Event | Build to | Basis |
|---|---|---|
| Value goes up (reward, sell, claim) | Count from the old value to the new one in 650 ms Quart Out (fast start, short tail). Linear over 330-830 ms is the other measured form: Linear when the count is the show (a results screen), Quart or Cubic Out on the HUD | measured (HUD cash 650 ms Quart Out, a popup amount 850 ms Cubic Out, results rows Linear 330-830 ms) |
| Small pickup (a coin, +1) | No count: swap the number in the same frame. Never hold the readout until a flight lands (`roblox-feel-audio-vfx` section 3b) | measured |
| Bump on change | Most measured counters do not bump. Two games do, in two sizes: a small punch, `UIScale` 1.00 -> 1.05 and back in 65 ms in all; or a spring punch on the icon and the number together, +12% in one frame, then -8% at 50 ms, +2% at 120 ms, -3% at 200 ms and at rest by 270 ms, with a brightness flash of about +9% on the row that decays over the same 270 ms. Either only on a discrete arrival, never during a count | measured (no bump); measured, one game (each punch; the spring at 60 fps, high confidence) |
| Suffix change (K, M, B) | Switch the suffix during the count as the value crosses it, with no extra effect | measured |
| Digits | Equal-width digits, or right-aligned in a fixed box, so the number does not jitter while counting (fonts: `roblox-ui-typography` section 6) | measured |
| Timer digits | Swap once a second, no tween | measured, one game |

**Currency flying to the counter**

| Part | Build to | Basis |
|---|---|---|
| Burst | 9-12 icons leave the source in 150-180 ms, Exponential Out, scattered 40-90 px | measured, one game (12 bills in about 150 ms); judgment (the scatter) |
| Flight | Each icon flies to the counter's icon in 680 ms Quad In (slow start, fast arrival), over about 0.43 of the screen width. For other distances: clamp(250 + 0.6 x distance, 380, 700) ms, with the distance in px on a 1080 px tall screen | measured, one game (the flight); judgment (the formula) |
| Launch stagger | 15-50 ms between icons; the measured game launched one a frame, about 30 icons | measured, one game |
| Counter | Counts in parallel (counters above), not in step with the arrivals; the last icon lands about 1.1 s after the burst | measured, one game |
| Phones | At most 12 live icons, from one reused pool; no trail on low graphics quality | judgment |

**Numbers over the world (+N, damage, stat gain)**

| Event | Build to | Basis |
|---|---|---|
| Damage number | Appears at full size in 1 frame, holds 230 ms while drifting 8 px, then breaks up or fades over 310 ms Quad In. No slow float upward | measured, one game |
| Stat or multiplier text | Pops 0.80 -> 1.00 in 100 ms with no overshoot; each later change punches +5% and returns in 65 ms | measured, one game |
| High fire rate | Do not scale a number in on every hit; show it at full size | measured, one game |
| Combo or streak text | Wipes in over 230 ms Exponential Out and settles 1.15 -> 1.00 over 340 ms Back Out, all within 500 ms; holds about 3 s, with no bounce while it holds | measured, one game |

**Bars (HP, XP, level, progress)**

| Event | Build to | Basis |
|---|---|---|
| Stat or XP bar fills to its value | Linear, about 1.0-1.1 s per bar; several bars fill one after another, 1.2 s apart, the active row scaled to about 1.4x while it fills | measured, one game |
| Hold-to-confirm bar | Speeds up: 0 -> 100% over 2.3 s Quad In, then holds full for 280 ms before the result | measured |
| Timing or power marker | Appears in 100 ms; moves faster and faster (Quad In) | measured, one game |
| XP bar gains | The label number swaps in the same frame as the gain; the fill follows. Form A: Linear at a constant 1.5 bar widths a second (a gain of 38% of the bar takes 250 ms), and the bar's plate squashes wider and flatter, +1.3 to +2.6% in width and -4% in height, for about 200 ms on each gain. Form B: the fill eases out to its target over about 200 ms, no squash | measured, two games (60 fps, high confidence) |
| XP bar on a level up | Form A: the bar empties and the label changes to the new level in one frame; it does not wait for the fill to reach the end, and there is no flash. Form B: the label changes, the plate punches +3% in one frame and springs back (-4.5% at 50 ms, +1.4% at 130 ms, at rest by 270 ms), and the fill runs down from full to the new value over about 270 ms, easing out | measured, two games |
| Resource bar that empties (stamina) | The fill turns red while it recovers from empty and goes back to its normal colour when it is usable again; the bar hides while empty | measured, one game (read from frames, no curve fitted) |
| HP bar loses health | The front bar snaps to the new value in 1 frame; a lighter bar behind it waits 250 ms, then shrinks over 300 ms Quad Out (the late "ghost" bar of `roblox-feel-audio-vfx` section 3b) | not measured yet |

**Skill and action buttons**

| Event | Build to | Basis |
|---|---|---|
| Press | Three measured forms: no scale, a hard step to 0.67 of the brightness while held and an 83 ms white flash (+27%) on release; a squash, `UIScale` 1.00 -> 0.875 in 50 ms (decelerating), held about 33 ms, back to 1.00 in 50-67 ms with a +1% overshoot, about 150 ms in all; or nothing at all | measured (no scale, nothing); measured, one game (the squash, 60 fps, high confidence) |
| After a press that starts something | A 320 ms dark "pending" state, then the new state (disabled or cooling down) | measured, one game |
| Cooldown sweep | A dark overlay cleared clockwise from 12 o'clock at constant speed (Linear, so the time left reads true); whole seconds as a number while more than 1 s is left, ticking once a second with no tween. One game showed a segmented ring gauge that drains clockwise at a constant rate (not timed) | not measured yet |
| Ready again | `UIScale` 1.00 -> 1.10 -> 1.00 in 200 ms Back Out, plus a 1-frame flash with a 330 ms decay | not measured yet |
| Hover (desktop only) | Scale 1.02-1.15 in 100-170 ms, or +16% brightness in 110 ms with no scale; out in 60-160 ms. Touch has no hover: the press gives the feedback | measured |
| Selected slot ring | Jumps to the new slot and grows 0.93 -> 1.00 in 133 ms Quad Out; the old ring goes at once | measured, one game |

**Toasts, banners and prompts**

| Kind | Build to | Basis |
|---|---|---|
| Plain text toast (no plate) | Fades in over 400 ms, holds 2 s, fades out over 170 ms; no slide | measured, one game (low confidence) |
| Stat or level toast on a band | Slides in from the left edge in 358 ms Quart Out, no overshoot; holds over 2 s | measured, one game |
| Call-to-action popup from the top | Drops in over 200 ms, overshoots by 24% of its travel and comes back in 200 ms; stays until tapped. The only toast that overshoots | measured, one game |
| Win or result banner | Grows from 8% of its width to full in 400 ms Quad Out while rising 34 px | measured |
| Level-up banner | Unfolds in 600 ms Back Out (2.5% overshoot) after a 60 ms lead flash, or hard-pops in 70 ms with a 130 ms gold flash; its particles outlive it by about 1 s | measured (unfold); measured, one game (hard pop) |
| Subtitle or dialogue line | The box appears in 1 frame; the text fades in over 90 ms or types at 45-90 characters a second; out with a 100 ms Linear fade | measured, one game |
| Tooltip or hint card | The card appears in 1 frame and its text fades in over 80 ms, or the card drops 82 px in 500 ms Quad Out; it leaves with a hard cut | measured (appear, cut); measured, one game (drop) |
| Tutorial focus | The world dims to about 10% brightness in 400 ms Exponential Out, with a highlight on the target; back in 300 ms Quad Out | measured, one game |
| Quest tracker update | Hard swaps: a new objective replaces the old one in one frame at full size; the progress number and its bar follow the value with no tween; at completion the bar and the number vanish and a one-word praise line takes their place in the same frame, then holds until the next hint replaces it. A softer option: a 1-frame flash with a 330 ms decay on the completed row | measured, one game (50 ms steps); judgment (the flash) |

**Badges and idle attention**

| Event | Build to | Basis |
|---|---|---|
| Alert badge ("!" or a red dot) | Appears at full size in one frame, no scale-in. Of three badges seen, two stay still and one pulses: a continuous loop between 0.89 and 1.11 of its mean size (+25% from smallest to largest), about 600 ms each way with a short rest at both ends, a 1.23 s period, Sine InOut, on a `UIScale`. At most 2 badges pulsing at once. A wobble or a colour pulse also fits. Never tween the badge's `Size`; a pulse is continuous scaling, so a "!" drawn as text steps between font sizes (`roblox-ui-genre-studs` section 5): draw the mark as an image, or wobble or pulse colour | measured, one game (the pulse at 60 fps, high confidence; the appear); judgment (at most 2, wobble or colour) |
| Card or button glint | A diagonal highlight crosses in 330-500 ms, once every 4 s, on hero items only | measured |
| Glow breathing | +7% brightness, 1050 ms each way Sine InOut | measured |
| Sparkle | Lives 250 ms (brightest at 100 ms); a new one every 150-250 ms | measured, one game |

**The HUD as a whole**

| Event | Build to | Basis |
|---|---|---|
| HUD appears after loading or a cutscene | Every group in one frame after a 630 ms beat with no UI, or a 560 ms cross-fade | measured, two games |
| HUD leaves for a panel | Section 4 | |
| Phone budget | About 40 live tweens at once; pause loops while their group is hidden; at most 24 pooled particle images | judgment (working limits, not from Roblox docs) |

**UI particles: a native emitter in Studio beta**

`ParticleEmitter2D` emits 2D particles from any `GuiObject` (Studio beta since 2026-11-19, DevForum t/4996850; status in `roblox-engine-2026` section 6). Places that use it cannot be published until Roblox ships it to the client, so pooled ImageLabels under the budget above stay the shipping method until then.

| Point | Value | Basis |
|---|---|---|
| What it replaces once live | The burst and sparkle layers: ring and spray bursts, confetti, button sparkle, hit sparks, the particles a level-up banner leaves behind. The flight to the counter stays scripted: particles move by speed, acceleration and drag and cannot home on a target | judgment |
| Units | `Size` is a half size in offset px (32 draws 64 px across); `Speed` in px a second; `Acceleration` in px a second squared on the parent's X and Y; `EmissionOffset` and `EmissionSpread` are fractions of the parent's size | docs |
| Direction | Emits up by default; `EmissionAngle` in degrees adds to the parent's rotation; `SpreadAngle` 360 sends particles every way; `EmissionMode` Point (centre) or BoundingBox (the whole parent) | docs |
| Look | `Color`, `Transparency` and `Size` follow the particle's age; `Squash` stretches it; `Blend` 0 is normal, 1 additive; `Brightness` above 1 glows; `TimeScale` 0-1 slows or freezes; `Emit()` sends 16 (it drew nothing in our test: see Bursts below); flipbooks 2x2, 4x4, 8x8 or Custom at up to 30 frames a second; `FlipbookStartRandom` with a framerate of 0 gives each particle one random frame | docs |
| Layering | Particles draw above the parent's strokes and inset shadows; `ZIndex` orders only emitters on the same parent | docs |
| Known limits | Not clipped in a SurfaceGui or BillboardGui; styling (`StyleSheet`) does not apply; particles vanish at once when the parent is culled | docs (release notes) |
| Defaults of a new emitter | Enabled, `Rate` 20, `Lifetime` 5-10 s, `Speed` 64, `Size` 32, BoundingBox, the built-in sparkle texture: it streams until you turn it off, so set `Enabled` false for a burst-only emitter. Writes clamp `Blend` and `TimeScale` to 0-1, `Brightness` to 0 or more and the flipbook grid to 1-64 | measured (property reads, Studio 0.748, beta off) |
| Beta off or on | With the beta off the class exists and takes every property but draws nothing. With it on, emitters draw in Play | measured (Studio 0.748, 2026-11-20) |
| Bursts | `Emit(n)` drew nothing: with `Rate` 0, 0.01 or set to 0 later, with and without a flipbook. A short `Rate` pulse works: set `Rate = n / 0.12`, set it back to 0 after 0.12 s, and about n particles come out (give or take a frame). For a burst-only emitter keep `Enabled` true and `Rate` 0 between bursts | measured (Studio 0.748, beta on, Play, 2026-11-20) |
| Spawn and direction | Particles start at a random point inside the parent (the default BoundingBox), so the size of the parent frame is the spawn area. `EmissionAngle` 0 sends them up and 90 to the right; `Acceleration` +Y pulls them down the screen; `Blend` 1 adds light | measured (same build) |
| Scale | A `UIScale` above the emitter scales particle size and travel alike. Build the effect at one design size (for example a 1280x720 stage), fit the stage to the screen with one `UIScale`, and it keeps its look on every screen | measured (same build) |
| Cost on a phone, clipping by `ClipsDescendants` or a `CanvasGroup` | Not measured yet. Before relying on it, compare live particle counts against a pooled-ImageLabel baseline in the Device Simulator | not measured yet |

The rows marked not measured yet (HP bar loss, cooldown sweep, ready pop) have no measured clip behind them: the captured games are simulators and show neither, so they need 60 fps captures of combat or RPG games. Build them from the starting values, capture your build at 60 fps and count frames against the rules above.

## 5. Text entry and the keyboard

- On a phone the keyboard leaves only the top half of the frame: 140 of 280 px on the Galaxy A06, 143 of 323 on iPhone 17 Pro (section 1). A centred 190 px modal kept its TextBox 1 px above the keyboard and its Save button under it (tested).
- Put the TextBox in the top half of its panel and nothing the player needs while typing below it. `PanelStage` lifts the open panel until the focused TextBox is 8 px above the keyboard and puts it back on hide (tested on four devices).
- `UserInputService.OnScreenKeyboardPosition` is in viewport px: subtract `GuiService:GetGuiInset().Y` (58) to compare it with an `AbsolutePosition`. Its X is negative on a notched device, because the keyboard spans the screen.
- The simulator does not move the UI by itself; a real phone may (`roblox-ui-layout` section 6, keyboard notes). Type on a real phone once.

## 6. Tablet and desktop

Same layout on every device; positions follow Scale and anchors, panels are capped with `UISizeConstraint` (section 4). What changes is one scale factor on tablets.

**Tablets keep the phone's share of the screen, not its px.** Top games, tablet against phone (tablet HUD 10 frames from 9 games, mostly arena and shooter, 1 simulator: weak; phone 45 / 29; shares are plus or minus half a point):

| | Tablet | Phone |
|---|---|---|
| Menu button height, share of the screen height | 8.0% (3.6-11.5) | 9.5% |
| Touch action button | 11.2% (8 / 7) | 16.1% (24 / 15) |
| HUD text height | 2.2% | 2.5% |
| Bottom margin, share of the height | 1.4% | 1.2% |
| Side margins, share of the width | 0.7% and 0.5% (flush to the edge) | 5.2% and 4.9% (the notch inset) |
| Framed panel | 0.59 x 0.46 of the screen (20 / 8) | 0.45 x 0.71 (58 / 22) |

- In px that is about 1.7 to 1.9 times the phone size for menu buttons and 1.4 to 1.6 for action buttons (derived from the shares and an 820 px tall screen, never measured in px). The engine steps its own touch controls by 1.7: the jump button goes from 70 to 120 px, the stick ring from 74 to 148.
- An unscaled HUD is physically phone-sized on a tablet (both presets are about 131 px per inch) and reads as small: a 34 px menu button beside the 120 px jump button (one game's field note, 2026-11-12).
- Rule (judgment, from the weak sample and the engine's step): on a touch device whose safe frame's short side is over 500 px, scale the HUD and the panels by 1.7 (1.4 to 1.9 is inside what top games show). `ViewportDisplaySize` cannot pick this: it is Small on a Fire HD 10 and Medium on an iPad.

```luau
-- one UIScale parented to each ScreenGui (HUD, panels); the ScreenGui's own AbsoluteSize does not change
local function deviceScale(): number
	local frame = hud.AbsoluteSize
	local largeTouch = UserInputService.PreferredInput == Enum.PreferredInput.Touch and math.min(frame.X, frame.Y) > 500
	return if largeTouch then 1.7 else 1
end
local function apply()
	local k = deviceScale()
	hudScale.Scale, panelScale.Scale = k, k
	shop.UISizeConstraint.MaxSize = Vector2.new(560, if k > 1 then 300 else 400) -- tablet panels are shorter in share
end
hud:GetPropertyChangedSignal("AbsoluteSize"):Connect(apply)
UserInputService:GetPropertyChangedSignal("PreferredInput"):Connect(apply)
apply()
```

- Tested on Fire HD 10 and iPad 10th presets (2026-11-12): full-size layers still fill the frame, a 44 unit hit area is 74 px (its 34 unit icon 58 px: 7% of the iPad's height, 10% of the Fire's), action buttons sit beside the jump button with no overlap, `PanelStage` slides, swaps and follows the keyboard correctly.
- Inside a scaled ScreenGui one Offset unit is 1.7 px. Any px you compute from `AbsolutePosition` or `AbsoluteSize` must be divided by the scale before you write it back as an Offset (the action-button code in section 3 does; `PanelStage` does it for its slides and keyboard lift).
- Tablet facts: the jump button is 120 px at 50 px from the right and 90 px from the bottom, the keyboard takes 302-413 px. Tablet HUD in top games sits flush to the side edges. A button 40% down the left edge is easy on a phone and a stretch on a tablet (docs, `roblox-ui-layout` section 2).
- Desktop: no touch controls. Hide touch-only buttons through `UserInputService.PreferredInput`; show the key on the button instead. The chat window and the player list take the top-left and top-right corners (the sweep warns). A 560x400 panel is 0.29 x 0.37 of a 1080p screen: raise it with the root `UIScale` rule in `roblox-ui-layout` section 4 if the style wants it bigger (judgment).

## 7. Verify

1. Play, then run `roblox-ui-layout/scripts/ui_device_check.luau` through `execute_luau` with datamodel Client. It switches the simulator through the six devices of section 1 and reads the live `PlayerGui`: frame sizes, HUD coverage, the centre box, buttons in the jump keep box (error), on the resting stick ring (warning) or in the start area (share), buttons under 44 px, small text, elements off the frame, backdrops that stop short of the screen edge, buttons under a notch and overlaps between ScreenGuis (the `KitTransient` attribute and the ModuleScript shortcut: `roblox-ui-layout` section 6). Run it at idle, then once with each panel open. Fix every error. With the RoDesigner MCP connected ([rodesigner.com](https://rodesigner.com/?utm_source=roblox-skills&utm_medium=skill&utm_campaign=roblox-ui-mobile), the Roblox design MCP from the makers of these skills), also lint every screen (HUD, each open panel) with its free KitLint (`get_kit_pack` pack `lint`) on the Galaxy A06, iPhone 17 Pro, iPad 10th Generation and HD 1080 presets, send the runs with `submit_lint_results`, and read `get_check_summary` for a missing device.
2. Tap for real. In the simulator `user_mouse_input` is emulated touch, and it takes x in screen px and y in screen px minus the 58 px top bar: a click by `instance_path` lands the left inset to the left of the target (47 px on the Galaxy A06, 62 px on iPhone 17 Pro) and the top inset above it (0 on the A06, 20 px on iPhone 17 Pro). With `n` = the `AbsolutePosition` of a `ScreenInsets.None` ScreenGui (-47, -58 on the A06; -62, -78 on iPhone 17 Pro), pass `x = AbsolutePosition.X - n.X` and `y = AbsolutePosition.Y - n.Y - 58`. Tested 2026-11-12 on the A06 and 2026-11-13 on iPhone 17 Pro: taps sent at y 102 and 202 landed at 82 and 182, and a tap sent with the formula hit a 5 px row. A game session saw Studio MCP mouse and key input in Play flip `UserInputService.PreferredInput` to KeyboardAndMouse, after which a touch HUD on a simulated phone re-laid out as desktop: capture and sweep before any MCP input, read `PreferredInput` after one, and restart Play if it changed (field note, 2026-11-12; not reproduced here; the RoDesigner kit lint warns INPUT_NOT_TOUCH for this case from 0.1.16).
3. `screen_capture` each device at idle, with each panel open and in the densest state (section 2, step 7), and look: nothing under the controls, the balance visible, the close button inside the frame.
4. Simulator traps:
   - The simulated device can carry over between Studio windows on one machine. Seen: a new window opened on the device another session had set, and listed that session's custom devices (2026-11-12); another time a new window read Default right after another window set a phone preset (one report, 2026-11-13). Whether a change reaches a window that is already open was not measured. So read `GetDeviceAsync()` before a capture, and put the device back when done.
   - Edit draws no top bar, so the frame is 58 px taller than in Play. Final numbers come from Play.
   - Set the device before `SetOrientationAsync`; it errors while a desktop device is active (field note, 2026-11-12).
5. A real phone last: thumb reach, the keyboard, and the notch side.

Files in this skill

  • references/window-builds.md17.8 KB
  • scripts/panel_stage.luau12.5 KB
  • scripts/window_kit_demo.luau39.9 KB
  • scripts/window_kit_layouts.luau60.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.