Hello, I am making a 2d game and in need help with the controls. Right now, the player can move off of the map due to press w and s, or the mobile controls down and up. How could I fix this?
COMMUNITY QUESTION
Lock player on Z axis?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Put invisible walls in front and behind the player
Well he is right lol. nothing else to say
This site is for help with a script you've attempted. You should probably go to the devforum for this question.
Mayk728 ah ok thanks.