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

Why do my GUI's move downward when activated?

I don't really know why this happens. I don't use AbsolutePosition or TweenService but all of my GUI's are a bit lower than they are on my screen and the emulator.

1 answer

✓ Accepted answer

Ah, my friend. You are using Offset!

On the Position property, it looks like this {0, 0}, {0, 0}. The first set of curly brackets is the X value, and the second is the Y value. The first number in each set is the Scale. Scale is a percentage of the overall screen size. The second number, Offset, is a direct amount of pixels. When you use Offset, it will display the same on every screen because you are not defining a percentage, but rather a pixel amount.

I would highly suggest you read the "Scale and position" section of this guide as I'm sure it explains this issue much better than I could. https://devforum.roblox.com/t/ui-design-starter-guide/53461

If this helped, upvote/accept it! Thanks!

2 comments

0

I don't understand. Are you trying to say that it SHOULDN'T be on {0,0}{0,0} or it SHOULD be?

0

Also, the devforum doesn't really help me out. I don't get what the values are.

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