added methods to check if direcions is active
added so taht the player can move