Learning to move on land