Budda Posted December 28, 2015 Share Posted December 28, 2015 I've built some Tetris like blocks using multiple sprites - and then grouped them.I used the group setAll() to add input events to each sprite. When a sprite is clicked i receive the event, but i'd like to act on all other Sprites in the same group. I cannot seem to find a way of working out what group my clicked Sprite is in though. If I cannot find the group from the clicked sprite -- is there a different way to group these block arrangements and receive their click to then delete the whole shape ? Link to comment Share on other sites More sharing options...
drhayes Posted December 28, 2015 Share Posted December 28, 2015 You're looking for "sprite.parent". Budda 1 Link to comment Share on other sites More sharing options...
Recommended Posts