How to make IsKeyDown work in mobile

  1. What do you want to achieve? Keep it simple and clear!

I want the IsKeyDown to work in mobile to make the ball move

  1. What is the issue? Include screenshots / videos if possible!

the ball doesn’t work in mobile

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I have tried using contextactionservice and tried the humanoid move direction and tried to use the move vector in the controls script

I’d first use UserInputService.InputBegan to actually check what a mobile user inputs, to then use on :IsKeyDown()

local UIS = game:GetService("UserInputService")

UIS.InputBegan:Connect(print)

Do you think a mobile phone has keys for this to work?

2 Likes

Surely it has, just print out the input and youll find out

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.