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 2 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 25 — 2y
0
also this isnt related to lua scripting User#23365 25 — 2y
0
off-topic Rare_tendo 2578 — 2y

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 2 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 2578 — 2y
Ad