How do I stop my GUI from moving when I change screen sizes?

Hey there, I’m currently making a game that needs an admin gui. I’m thinking to make it a button up in the top-left corner of the screen, next to Roblox’s default buttons (menu, chat). I’ve got the button next to those buttons, but it moves when I change screen sizes. I have other gui in the game that doesn’t do this, but I don’t know what I did to them to keep them from moving.

So far I’ve tried changing the position and anchorpoint, but I can’t get those to be perfect. Please help.

3 Likes

Are you using scale to position the UI?

No i’m not, should I be doing that?

use scale position and sizes and put a UI Aspect Ratio constraint in the main frame

1 Like

Yes, you should be using scale. Scale works with a number anywhere inbetween 0 and 1, which means that .5 is positioned halfway across the screen, .1 is positioned a tenth the way across the screen, and .8 is positioned 8 tenths of the way across the screen. You can convert the position to using scale with autoscale lite but you don’t have to and can manually do it.

Anchor points help a lot as well.

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