cotton on to

중상급 (B2)informal

To slowly figure out a particular thing or idea.

"The children soon cottoned on to the fact that presents were hidden in the wardrobe."