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

GUI isnt positiong correctly?

How do i make a gui stay in the same spot for all screens? When you minimize your screen it changes position. How do i fix this so it doesnt?

1 answer

Use Scale, not offset.

Scale contours to all screens. When you see a UDim2 number like this in the GUI's properties,

Size = {0,50,0,50}
Position = {0,50,0,50}

That's using Offset.

Use scale,

Size = {0.1,0,0.1,0}
Position = {0.1,0,0.1,0}

It's a percent. Let me know if you need more information.

Good Luck!

If I helped, please don't forget to accept my answer.

7 comments

0

I dont want it to change size either...

0

Than don't. Only use scale on the position.

0

Thats what i have been doing and it isnt working

0

Because you're not using scale for the size. It doesn't position the GUI from the middle, it positions it from the top right. Why can't you just use scale for the size?

0

I dont want it to change the size

0

Why?

0

It would look horrible

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