Forum Discussion
RachelHedgepeth
6 months agoCommunity Member
Snap back ALL dropped items to original point
Hello all,
I have a drag and drop interaction where I would like the user to be able to drop various items to a single target. I would like each drag and drop to result in showing a layer, and in ...
AndrewHanley
6 months agoCommunity Member
There is indeed!
A while back, our very own hero Judy Nollet came up with an excellent solution using motion paths.
If you create a motion path for each of your dragged items, with the start point of the path at the starting origin of the item, then whenever you want to reset its position you simply use the trigger MOVE <drag item name> on <MOtion path name>
NOTE: ensure the motion path is 0 pixels long (ie start and end points are in the same place)
I'll try to find Judy's original post and link it here after.