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

How do I to detect player movement on all platforms with keyboard, joystick, and touch?

So I know how to get movement input from keyboard with PlayerActions, and I think there is some way to detect joystick movement on console, but I do not know a way to consistently detect simple player movement on all platforms. I do not believe there is a way on ContextActionService, but I may be mistaken.

I would really appreciate it if someone could solve my problem. I am relatively new to roblox scripting, so this may be a dumb question.

Hope you all can solve it!

2 comments

0

The UserInputService has everything you need. Just make sure to receive the input on the client.

0

Oh ok, thank you! I actually managed to use the Vehicle Seat to detect steer and throttle, and that works for all platforms. But I will remember this information :)

1 answer

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