How to disable mobile control but without disable the jump button (please anyone help)

  1. What do you want to achieve? disable mobile control (Thumbstick/Joystick) without disable the jump button

  2. What is the issue? idk how to disable the mobile control (Thumbstick/Joystick) without disable the jump button

  3. What solutions have you tried so far? I tried to put the DevTouchMovementMode (In StarterPlayer) to scriptable but when I do this the jump button disabled too but I want to disable the Thumbstick/Joystick only

1 Like

Have you tried changing the Player’s Walk speed to 0?
I tried this method, and it worked for me! If it didn’t work let me know by replying back. If it did mark this post as a solution post so others, know it got solved.
image

1 Like

This is good method but not for me because I’m making the force the player to move forward but I don’t want it to move right and left so I want to disable the Thumbstick/Joystick only without disable the jump button

1 Like

Why no one replays. :frowning:

,

1 Like

I tried, as well. I think what you need is to change it to Scriptable, and then you make a Custom UI that says “Jump”. It should work out like this. :happy2:
JumpGUI

Start by putting in a TextButton or an ImageButton at your existing ScreenGUI.
image

Then, go ahead and add the context to the script. It should work perfectly fine.

local defaultJumpPower = game:GetService("StarterPlayer").CharacterJumpPower 

function OnClicked() 
	local humanoid = game.Players.LocalPlayer.Character.Humanoid
		humanoid.Jump = true
		wait(1)
		humanoid.JumpPower = defaultJumpPower
	end

script.Parent.MouseButton1Down:connect(OnClicked)

Let me know if you have any other problems! :hidere:

1 Like

Wont that make only the person who pressed the button see the jump?

1 Like

idk how but the button do noting

1 Like

wait wait its work I just forget to make it Scriptable tysm bro

1 Like

I just realized that you’re right…
However, I tested it on a Local Server, and both Players can see the button.

Click on Output, and tell me if you see any problem.
image

I’m glad it worked for you! Good luck with your project! :cool:

1 Like

tysm bro

(Extra Characters aksn)