how can you distinguish two actors when dragging

I have 3 actors in scene which contain the same rules.
Both of them can be drag and drop, also set to interpolate to its original position when it drops.
However, when i am dragging one overlapping to the others, and than i release and press again real quick at the same time (which my first drag item not back to its home yet, still overlapping). The two actors just stick together to be dragging by my mouse. My goal is only dragging one actor at the same time.

I have tried add another game.boolean called isdragging. It set to whenever mouse down and self.drag is true, "isdragging" become true, otherwise false, but i fail.

Any suggestions or examples? Please help, i have been trying for whole night..
Thanks everyone!

Comments

Sign In or Register to comment.