$.playground() .addGroup("layer1"...) .addSprite("object1",...).addSprite("object2",...).end() .addGroup("layer2"...) .addSprite("object3",...)
It looks like you're new here. If you want to get involved, click one of these buttons!