Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a gui centered?

Asked by
Prioxis 673 Moderation Voter
9 years ago

Whenever i'm in studio mode the gui is centered as of the studio screen but it isn't in actual play mode then it is up in the top left corner.. help?

0
Dimensions pl0x fahmisack123 385 — 9y

2 answers

Log in to vote
1
Answered by 9 years ago

Set your GUI to .5 in position, if I am not mistaken, that should put it at 50% of the screen.

0
oh okay thank you :D Prioxis 673 — 9y
Ad
Log in to vote
-1
Answered by 9 years ago

That's because the Explorer UI and Properties UI get actually subtract from the screen space, but screen space actually exists behind it.

You should try just experimenting with the Position of the Gui, and then close the Explorer and Properties and see if it looks centered. If not, then reopen it and experiment some more.

There is no set position for the Gui to be centered on, because it all depends on your Gui's Size.

Answer this question