Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to position text so it will be in the same place for all screens?

Asked by
Txeer 46
5 years ago

How do I make it so the text in a gui will be in the same spot for all screens?

1 answer

Log in to vote
1
Answered by
Lugical 425 Moderation Voter
5 years ago

This is rather simple, although a good question to ask for GUIs! As you can see, the coordinates of a GUI (in properties), is arranged in {x-scaled, x-pixels, y-scaled, y-pixels). When you drag and size it up in Studio without using the properties, ROBLOX automatically changes it with pixels. However, since those stay the same throughout all devices in measurement, the GUI is gonna look funky on most screens. However, what you can simple do is use the first and third coordinates, as those are for scales. They are sized by percentage of the screen, so it stays consistent throughout all devices. You can also use pixels to help even some things, but I recommend you to use very little pixels and use the scales. Hope this helps!

Ad

Answer this question