When dragging and dropping one actor , freeze all other actors
katslump
PRO Posts: 31
For instance , if I have three actors. I want to be able to drag one actor and not have the others follow and overlap it. This is my major problem. For drag and drop I have been using the drag index and changing it from 0 to 1.
I want to be able to touch and drag any one of the actors but depending on which one I drag the others have to freeze.
Help would be GREATLY appreciated. I've been stumped on this for awhile.
I want to be able to touch and drag any one of the actors but depending on which one I drag the others have to freeze.
Help would be GREATLY appreciated. I've been stumped on this for awhile.
Comments
If it is, they all have the same prototype rules applied to them, so when you touch one, they all respond to the rules applied to the prototype. You either have to unlock them on the stage, or have a different, individual actor for each instance that is going to be on the stage.
But I did create 3 separate actors if that it what you're asking.
I have the same rules for each; however, I am struggling to figure out how to make the "touch" unique to the specific actor the mouse is on top of. Because all of the actors have the rule applied that says "when touched..do this" . I thought of using tags to constrain all of the other actors to keep their positions the same (if thats even possible).
any ideas? thanks for helping!!
This way when you drag actor one, actor 2 will not be touched because the attribute is not 2 and same for 3. try if it doesn't work let me know.