I create the blocks but it doesn't work. All the imagespirits go to the same position at the same time. But I want them to be separately dragged one by one.
is anyone can help me T.T
I'll appreciate it very much. Thank you
Are you using the iOS companion ?
You are suffering from Sprite Cannibalism.
This sample app solves that problem.
Short answer:
Add a global variable to hold the component block of the last Sprite that had a TouchDown event.
In each drag, check if the sprite component being dragged matches the component in the global variable before responding to the drag.