Checking if okay to move in MoveCharacter method