Blog › Guides

How to make Roblox UI fit mobile screens with AI

UI breaks on phones for three reasons: it was sized in pixels instead of as a share of the screen, its buttons are too small to tap, or it sits where the thumbstick and jump button are. RoAssistant can run your game on a phone-size screen and is shown which of the three is happening where, so it knows exactly what to fix.

What makes UI fit a phone

  • Scale, not offset: sizes and positions given as a share of the screen stay in proportion on every device. Sizes in pixels do not.
  • An aspect ratio constraint on things that must keep their shape, such as square icons and round buttons.
  • Buttons big enough for a thumb. A button that is fine for a mouse is often too small to tap.
  • Clear space where the touch controls are: the thumbstick in the bottom left and the jump button in the bottom right.
  • Text that scales with its box, with a limit so it never becomes unreadably small.
  • Room for the notch and rounded corners on newer phones, so nothing important sits at the very edge.

Why build it with RoAssistant

RoAssistant runs your game on a phone-size screen itself and is told exactly what spills off, what is too small to tap and what sits on the touch controls.

What to ask for

Type it the way you would explain it to a friend. For example:

  • Check my shop screen on a phone and fix anything that spills off the screen or is too small to tap.
  • Move the buttons that are under the jump button somewhere I can reach.
  • Make every screen in my game scale with the screen size.

Step by step

  1. Sign in at roassistant.me with your Roblox account.
  2. Install the free plugin, RoAssistant AI, from the Roblox Creator Store: https://create.roblox.com/store/asset/138810452100215/RoAssistant
  3. Open your place in Roblox Studio, open the plugin and press Connect.
  4. Ask the assistant to check one screen at a time on a phone-size screen.
  5. Read what it found: what spilled off, what was too small, what sat on the touch controls.
  6. In Studio, use the device emulator in the Test tab to look at the result yourself on a few phone sizes.

Check that it works

  • Nothing is cut off at the edges on a small phone.
  • Every button can be tapped without hitting its neighbour.
  • Nothing sits under the thumbstick or the jump button.
  • The same screen still looks right on a wide desktop monitor.

Common problems

It looks right in Studio and wrong on my phone

The Studio window is a desktop shape. Use the device emulator in the Test tab, or ask the assistant to run the phone-size check, to see what a phone sees.

My icons are stretched on some phones

They scale with the screen in both directions. Ask for an aspect ratio constraint on the icons so they keep their shape.

Does the phone check cover every phone?

It checks a phone-size screen without a notch. Phones with a notch or a camera cut-out can still hide the very edge of the screen, so keep important buttons away from the edges.

Facts in this post were last checked on .

All posts · RoAssistant

RoAssistant · Studio plugin · Privacy Policy · Terms of Service