How do I make it so a player can only move left and right on mobile?

Help

I’m making a 2d obby game and I already watched a tutorial for desktop movement but I’m not sure how to do it for mobile players. any help is appreciated.

Posted Mar 6, 2026, 5:37 PM UTC

10
Loading comments…