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

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

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?

3 comments

0

just use the scale for the size and position of the GUI

0

also this isnt related to lua scripting

0

off-topic

1 answer

✓ Accepted answer

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.

1 comment

0

Position and Size doesn't use 'studs', they use UDim2's with an X and Y value both having an offset and scale

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