I can't get my game to work

https://flowlab.io/game/play/1035872
I am using grid movement for the player object but the player can keep moving off the screen. Can someone help please/