Skip to main content

What parts of a phone screen must Roblox UI avoid?

Updated

Keep buttons out of four places: the top bar with Roblox's menu buttons, the bottom-left thumbstick corner, the bottom-right jump button corner and the notch. A ScreenGui left at its default ScreenInsets, CoreUISafeInsets, already avoids the top bar and the notch. The two thumb corners are yours to clear: about 110 x 100 px and 95 x 90 px on a phone.

10 facts: 5 from the Roblox docs and 5 measured in Studio

The four zones

Roblox documents that the default controls take part of the bottom-left and bottom-right corners on mobile. It advises against placing important info or virtual buttons there.

  • The top bar: Roblox's menu and its other controls, left-aligned along the top edge.
  • The thumbstick corner, bottom-left.
  • The jump button corner, bottom-right.
  • The notch and other camera cutouts, on the sides in landscape.

The zones in pixels

Measured in UI px in Studio's Device Simulator, landscape:

ZonePhoneTablet (large controls)
Top barA 58 px strip above the safe frameSame
Thumbstick ringCentre 66 px from the left and 56 px from the bottom, 74 px wide. Keep box 110 x 100 pxCentre 132 px from the left and 112 px from the bottom, 148 px wide. Keep box 215 x 195 px
Where a touch starts the stickThe left 40% of the width, bottom 2/3 of the heightSame
Jump button70 x 70 px, 25 px from the right, 20 px from the bottom. Keep box 95 x 90 px120 x 120 px, 50 px from the right, 90 px from the bottom. Keep box 170 x 210 px
Notch62 px margin on each side on the 874x402 notched phoneNo side margin on the two tablet presets we used

The controls switch to their large size when the safe frame's short side is over 500 px. Readouts may sit in the stick area: in our test a passive label did not block the stick, while a button did.

Pick the right ScreenInsets

ScreenInsetsUse it for
CoreUISafeInsets (default)Buttons and status text: clear of the top bar and the notch
TopbarSafeInsetsSmall chips inside the top bar row; its size changes with the space left
DeviceSafeInsetsClear of the notch only, not of the top bar
NoneBackgrounds, dims and fades with no buttons
  • Setting IgnoreGuiInset to true switches CoreUISafeInsets to DeviceSafeInsets, which puts your UI under the top bar.
  • ClipToDeviceSafeArea is true by default and clips everything to the device safe area. A panel that slides in from an edge is cut there.
  • Never hard-code the top bar height. GuiService.TopbarInset gives the free area beside Roblox's controls and changes at run time.

In our test, a full-size Frame in a default ScreenGui on the 800x360 phone preset left 47 px on each side, 58 px at the top and 21 px at the bottom uncovered. Put full-screen layers in a ScreenGui with ScreenInsets None.

Place action buttons from the jump button

Roblox recommends placing custom buttons relative to frequently used controls like the jump button. It also notes that a button 40% below the top edge is easy to reach on a phone but hard on a tablet.

This script reads the jump button's box and puts an attack button left of it, at 0.9 of its size with a gap of 0.12 of its width. It re-runs when the jump button moves or resizes.

-- LocalScript in a ScreenGui with default ScreenInsets. Layer: a full-size Frame; Attack: an ImageButton in it.
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")

local layer = script.Parent:WaitForChild("Layer")
local attack = layer:WaitForChild("Attack")
local touchGui = Players.LocalPlayer.PlayerGui:WaitForChild("TouchGui", 10) -- touch devices only
local jump = touchGui and touchGui:FindFirstChild("JumpButton", true)

local function place()
	local touch = UserInputService.PreferredInput == Enum.PreferredInput.Touch
	attack.Visible = touch
	if not (touch and jump) then
		return
	end
	local p = jump.AbsolutePosition - layer.AbsolutePosition
	local s = jump.AbsoluteSize
	local size, gap = math.floor(s.X * 0.9), math.floor(s.X * 0.12)
	attack.Size = UDim2.fromOffset(size, size)
	attack.Position = UDim2.fromOffset(p.X - size - gap, p.Y + s.Y - size) -- left of the jump button
end

if jump then
	jump:GetPropertyChangedSignal("AbsolutePosition"):Connect(place)
	jump:GetPropertyChangedSignal("AbsoluteSize"):Connect(place)
end
UserInputService:GetPropertyChangedSignal("PreferredInput"):Connect(place)
place()

Check it on each device

  1. Open Studio's Device Simulator on an 800x360 phone, an 874x402 notched phone and a 1180x820 tablet.
  2. Start Play: Edit mode draws no top bar.
  3. Compare every button's AbsolutePosition and AbsoluteSize with the keep boxes above.

RoDesigner's lint pack (get_kit_pack with pack "lint") flags buttons inside these keep boxes on all four test devices.

Questions

How do I hide or move the top bar?

Work around it instead. Keep your UI below it with the default CoreUISafeInsets, or put small chips beside Roblox's controls in a TopbarSafeInsets ScreenGui.

What does IgnoreGuiInset do?

It lets a ScreenGui extend under the top bar by switching its insets to DeviceSafeInsets. Use it only for backgrounds, never for buttons.

Why did my buttons land under the jump button on a tablet?

Tablets get a larger jump button, 120 px instead of 70 px, further from the corner. Place buttons from its live position instead of fixed px.

Where these numbers come from

  1. On mobile the default controls occupy part of the bottom-left and bottom-right corners; avoid important info or virtual buttons there.

    from the Roblox docscreate.roblox.com/docs/.../position-and-size

  2. Place custom buttons relative to the jump button; a button 40% below the top edge is reachable on a phone but almost unreachable on a tablet.

    from the Roblox docscreate.roblox.com/docs/.../position-and-size

  3. ScreenInsets: CoreUISafeInsets is the default and clears the top bar and cutouts; TopbarSafeInsets is dynamic inside the top bar; DeviceSafeInsets clears cutouts only; None is for non-interactive content.

    from the Roblox docscreate.roblox.com/docs/.../ScreenInsets

  4. IgnoreGuiInset true switches CoreUISafeInsets to DeviceSafeInsets; ClipToDeviceSafeArea defaults to true.

    from the Roblox docscreate.roblox.com/docs/.../ScreenGui

  5. GuiService.TopbarInset is the unoccupied area between Roblox's left-most controls and the edge of the device safe area, and is dynamic.

    from the Roblox docscreate.roblox.com/docs/.../GuiService

  6. Top bar 58 px; thumbstick ring and keep boxes, start area, jump button and keep boxes as in the table; large controls when the short side is over 500 px.

    measured in StudioOur test: Roblox's player control scripts read at Studio 0.746 and measured in the Studio 0.747 Device Simulator, landscape, 2026-11-12 (roblox-ui-layout skill, section 1)

  7. The 874x402 notched phone preset has a 62 px margin on each side; the 960x600 and 1180x820 tablet presets have none (safe frames 959x541 and 1179x761).

    measured in StudioOur test: Studio 0.747 Device Simulator, 2026-11-12

  8. A passive Frame, TextLabel or ImageLabel does not block the thumbstick; a GuiButton does.

    measured in StudioOur test: Studio 0.747, 800x360 phone preset, emulated touch, 2026-11-12

  9. A full-size Frame in a default ScreenGui on the 800x360 preset left 47 px each side, 58 px top and 21 px bottom uncovered.

    measured in StudioOur test: Studio 0.747 Device Simulator, 2026-11-12 (roblox-ui-layout skill, section 3)

  10. Action buttons at 0.9 of the jump button's size with a 0.12 gap, placed from its live box, overlapped nothing on five phone and tablet presets.

    measured in StudioOur test, Studio Device Simulator, 2026-11-12 (roblox-ui-mobile skill, section 3)