Our brains have a sense of direction and tell us when we move our legs which direction we are moving them and our eyes are able to tell us whether something is getiing closer or farther away from us, giving yet another indication of the direction we are moving.