When drag one object then other object should be drag along with the draggable object

Feb 18, 2021

Hi,

Currently, I am creating one project, where I want to implement an interaction that when I drag an object then another object should move along with the object which I dragged. So the other object will move wherever we drag the draggable object. 

1 Reply
Walt Hamilton

Don't group the objects; you will have problems with triggers, and states if you do. Copy the tag-along object. Edit the state of the draggable object, and paste the tag-along in the appropriate relationship to the original.  If you want it visible at all times, copy it to the Normal state. If you want it visible only while dragging, try the Down state. For other options, you may need to create a custom state with custom triggers.

Or, if you really don't have enough to do, you could fiddle with motion paths. :) Something like move TA object on motion path X when object is dropped on  or dragged over target Y.