Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a UI autoscale itself?

Hi!

How can I make a UI which automatically scales itself properly depending on the resolution of the device? Meaning, if I develop a UI on a device, and go to view such UI on another device, I want the other device to have the properly scaled UI, not a bunch of blanks.

Thanks in advance.

1 comment

0

Use the AutoScale GUI plugin its free and its easy to use

1 answer

✓ Accepted answer

You'll want to set it up as {x, 0, y, 0}. You shouldn't use offsets when using Guis.

x and y are relative to screen size, on a scale from 0 to 1. So setting the x and y to {1, 0, 1, 0} will cover the whole screen.

3 comments

0

So setting it to those values will allow the UI to auto-scale?

0

Yes , Using scale it will auto scale for everyone

0

Thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.