The moment the child started hamming it up, the whole family laughed.
Tips
register
Colloquial, especially common in Taiwan Mandarin and entertainment writing. 耍 = to play / mess around; 宝 here means 'treasure / cute thing' - together: 'to play the cute fool'.