In the blast of music, many children stood indoors clicking on tablets and then dancing.