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

How do you position preset mobile buttons like the move button and the jump button?

I don't know will this question gets taken down, because I don't know has this already been asked or not. I'm new to this, so please don't go too hard with me.

1 answer

✓ Accepted answer

you can find all of the settings inside of

game.Players.LocalPlayer.PlayerGui.TouchGui
local plr = game.Players.LocalPlayer
local touchgui = plr.PlayerGui:WaitForChild("TouchGui")
local movegui = touchgui.TouchControlFrame.ThumbstickFrame
local jumpgui = touchgui.TouchControlFrame.JumpButton

movegui.Position = UDim2.new(.5,0) --put the position you want the thumbpad to be
jumpgui.Position = UDim2.new(0.5,0) --put the position you want the jumpbutton to be
--MAKE SURE TO PUT THIS "LOCALSCRIPT" IN STARTERPACK!
--remember, .5 is half of the screen.

You're welcome!

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