muck around

中級 (B1) informal

To play around doing nothing useful, or to mess someone around.

"We spent the afternoon mucking around by the river instead of studying."