My Gui gets all out of sorts when I play my game on Roblox via android

I thought this would work

local pasta = Script.Parent

pasta.Size= UDim2(0,0,0.5,50,)
pasta.Position = UDim2.new( 0,500,0,50)

. But that is a no go, because it doesn't get my desired result on android.

So what do I do to get the gui in the correct position and size in every resolution.

3 comments

0

You actually can't I don't believe. Maybe I'm wrong.

0

you can use http://wiki.roblox.com/?title=API:Class/UserInputService and check wich things are enabled.

0

You may want to remove the extra comma on UDim2(0,0,0.5,50,)