Using this movement code
I just want him to be unable to continue at a wall, and be able to move away from a wall.
Develop games in your browser. Powerful, performant & highly capable.