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

Simple question for how GUI size and position work?

So when making GUIs there are more than two sets of numbers for Size and Position. They both move and resize the object but I know they do different thing I'm just not sure what. Could someone explain?

2 answers

✓ Accepted answer

With size & position there are two values, X and Y to if your Size is set to {0, 00},{0,00} then the first part of that is the X (Left + Right) and the other one is the Y (Up and down). Then you have the scale + offset which appears as the numbers, the first numbers in {0,0} are the scale (where you can use stuff like .5, ect) and then you have the second numbers, the offset. The default offset for X and Y is 100, so it appears like a cube, however you can re-size it, I hope this answer helps; If it doesn't please tell my why, thanks :)

6 comments

0

For example, the position of a GUI would look like this in the properties, (0,0)(0,0) We only need (0,0) for the position. Why do we have two sets of numbers? I understand how X and Y works but what's the reason for the extra (0,0)? Maybe you answered my question and I didn't understand. But I really just want to know what would you use these for. Like, why would I use the first (0,0) instead of t

0

-he second (0,0)? XD

0

They're both the Scale & Offset, I explained it in my question, the scale allows you to do .5, ect and the offest doesn't. Its quite complicated to explain, I'll think of a way to explain it.

0

Well, I can say that the offset is alot more of a smaller number, so the offset makes a very small difference compared to the Scale. Unless you mean why there are two (0,0) in the main position, or why there are two under X/Y.

0

I think I get what you're trying to say. Thanks for the explaination!

0

No problem, please give click the little ^ button on my comment, it really helps me & motivates me to keep helping people on the site.

Wfvj,The Left Number Are For Downing The Position/Size And The Right Number Are For Lefting The Position/Size

7 comments

0

I: Yeah, I know. But next to that are two more set

0

The Right Number For Big Number Like {1, 0} 1 = 10 And The Left Number Are For Little Number Like {0, 50} It Will Make The Gui Moving/Bigger A Little Bit

0

Is that all it does? I thought one did something different. Is it just bigger? That would be weird.

0

Yeah

0

But Did Are You Understand?

0

I'm still failing to understand why the developers did this... But yeah sorta.

0

:c Ok

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