In example i have one sprite with instance variable 'resources'
Sprite can be dragged and drop
Also sprite have 3 animation frames, big square, medium and small
When i drag big square and touch smallest, variable of the small/medium should add to bigger variable and small/medium should disappear.
Squares when overlaping other squares should destoy smallest one
I try think about in my game but i prepare raw example