Aimlessly means wandering along with no purpose in mind. Movement without a destination.
It attaches to verbs of movement and of activity, so wandering aimlessly, drifting aimlessly and scrolling aimlessly are all standard. The word usually carries a faint melancholy, since aimless activity suggests somebody who has lost their direction rather than somebody enjoying a stroll. The adjective aimless describes the wandering itself, and an aimless conversation is one going nowhere.
1adverbaimlesslyWithout any purpose or direction.
“He wandered aimlessly round the town for an hour.”
From aimless + -ly.
Etymology from Wiktionary, CC BY-SA