fool around

Intermédiaire (B1) informal

Act silly and waste time, or (for adults) have a secret romantic relationship.

"The kids were fooling around in the garden instead of coming in for dinner."