How to make gui same in every mobile device

Hey, I am trying to fit a gui for every mobile device. Problem is I can’t configure the position correctly, I tried using a plugin to resize it and it doesn’t work.
My Final position: {-3.286, 0},{0.8, 0}
Screen Shot 2022-10-30 at 6.03.04 PM
This is how it looks like when I am testing in mobile iphone 7 device. This is how I want it to look like. But when I test in ipad or any other generation, it’s different. I am not good with ui.

Change offset to scale

you can do this by going to properties (this will need to be done with each frame, button, and everything else) and going to size. click the down arrow and you will see more options which also have down arrows, click those then you will see offset and scale, you need to put offset to 0 and scale to 0.1 for x y and z.

unfortunately you will need to resize the Gui but it will automatically resize with scale not offset.

I would argue against using just scale; it’s a lot better to use a combination of scale and offset. If you create a Frame that scales the complete screen (1, 0, 1, 0), you can use that to get the total amount of pixels. If you want a button to appear at the middle of the screen for example, you can do
Button.Position = UDim2.new(1, -Frame.AbsoluteSize.X/2, 1, -Frame.AbsoluteSize.Y/2 combined with the anchor points. Something similar for the size as well

If you want a better and more complete explanation, I’d be happy to oblige at a later point, but it might be fun to figure it out for yourself from here.

1 Like

Do what @Blafert and @Waffle_Gamer6 did, if not, try using this plugin:

UI SUITE PRO
(there is a lite version if you scroll to the bottom of the post)

There is detailed instructions within the post.

(x,y,x,y)

x is always scale, and I changed y to 0 because y is offset.
So I did technically change it to scale. It just keeps changing because every device is different (I think)

I did not realize that it was x, y, x, y lol. Idk what I was thinking when I said x, y, z

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.