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

How to position an gui that will be at the same location of the screen on all types of devices? [closed]

Asked by 5 years ago

I really want to make an gui that be on one position of the screen on all types of devices. I tryed watching videos on youtube but it didn't work. How can i position an gui perfectly for all devices?

0
just use the scale for the size and position of the GUI User#23365 30 — 5y
0
also this isnt related to lua scripting User#23365 30 — 5y
0
off-topic Rare_tendo 3000 — 5y

Closed as off-topic by User#23365, EpicMetatableMoment, and Rare_tendo

This question has been closed by our community as being off-topic from ROBLOX Lua Scripting.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago

Your probably scaling in studs. For e.x. Your frame size is (0,100),(0,100).

You have to scale them by size, which is then (0.1,0),(0.1,0).

If you wanna scale the gui with the mouse, make the size (1,0),(1,0), then resize it with your mouse.

0
Position and Size doesn't use 'studs', they use UDim2's with an X and Y value both having an offset and scale Rare_tendo 3000 — 5y
Ad