Check if player can walk up or down