I have this code:
init: function () {
screenObjects = gameObject.add.group();
guidesGroup = gameObject.add.group();
},
create: function () {
guide1 = gameObject.add.sprite(0, 0, si.ImageAssetKeys.GUIDE_1_IMG);
guide1.name = 'guide1';
screenObjects.add(guide1);
guidesGroup.add(guide1);
guide2 = gameObject.add.sprite(0, 0, si.ImageAssetKeys.GUIDE_2_IMG);
guide2.name = 'guide2';
screenObjects.add(guide2);
guidesGroup.add(guide2);
guide3 = gameObject.add.sprite(0, 0,