monkey around

중급 (B1) informal

Play around and act silly instead of doing something useful.

"The boys were monkeying around in the gym instead of practising their drills."