Easy Walls
1. set up room with wall and square (player) objects:
2. mark objWall as Solid. this means any object that triggers a collision with this wall will move back to its previous position:
3. put movement controls on objSquare (player object). if you want diagonal movement instead, click here:
4. finally, add a collision event on the objSquare (player object) with the objWall: