loitering
Definitions
To stand or wait around idly or without apparent purpose.
To linger or travel in a slow, aimless way, stopping frequently.
Examples
The security guard asked the teenagers to leave because they were loitering near the store entrance.
There are signs posted around the park prohibiting loitering after sunset.
Synonyms
lingering dawdling loafing hanging around idling lallygagging