vagar, deambular, divagar
walk or travel in a leisurely or aimless way
:
• We spent the afternoon wandering through the old town.
Pasamos la tarde vagando por el casco antiguo.
• My mind tends to wander when I'm bored.
Mi mente tiende a divagar cuando estoy aburrido.