When my daughter was little, ~4 years old, she was quite shy ... and when I was speaking with someone, she'd often hide behind my legs ... but then she'd peek around and say to the person:
"I like your shoes"
... and they were invariably totally charmed. :)