How do I get mobile control state, like touch is upward, right, left, or down

I am trying to code a horse from scratch, I know how to get UserInputService Enum for pc, but I can’t find Enum Index for mobile UserInputService .

Are you trying to detect if a player is on mobile?

game:GetService("UserInputService").TouchLong:Connect(function)
-- function
end

or just use joystick or dpad ui

1 Like

trying to detect player joystick position for horse movement, like driving car in jailbreak