How to get Mobile Joystick Direction?

I want to get some kind of value that allows me to differentiate between different directions of the default mobile joysticks (User choice)

I cannot find an article about how to do this, and I couldn’t get help from individuals because they didn’t know either.

Any help?

3 Likes

Try making a custom Mobile Joystick, that could work. Or use ContextActionService, or even userinputservice

It turns out, I can just use Humanoid.MoveDirection. Thanks for the suggestion though.

4 Likes

i dont think you have a choice between ContextActionService and userinputservice

You can actually check for the direction with one simple line

local GetMoveVector = require(player:WaitForChild("PlayerScripts").PlayerModule:WaitForChild("ControlModule")):GetMoveVector()

print(GetMoveVector)
24 Likes