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

How would you make a Gui fit the whole screen?

Asked by 10 years ago

Kinda like a Intro Gui. Is there a script or a certain size?

1 answer

Log in to vote
1
Answered by
Perci1 4988 Trusted Moderation Voter Community Moderator
10 years ago

GUIs have two dimensions, height and width (or x and y), but they are four Size arguments. They have xScale,xOffset,yScale,yOffset. Offset is the number of pixels the GUI takes up; it will not vary due to screen size. Scale is a percentage. Although it's a percentage, it gets converted into a decimal, so it's a number between 0 and 1. 1 is 100%, 0.5 is 50%, etc. Since scale is a percentage, setting both scales to 1 will make it cover the entire screen.

0
Yeah, I actually just figured that out. Pawsability 65 — 10y
Ad

Answer this question