Mess around/about

To play around or engage in idle activity.

The children were messing around in the school yard before school began.