Forum Discussion

CJLu's avatar
CJLu
Community Member
1 day ago
Solved

How do I get drag and drop incorrect to snap pack?

Hey everyone, I’m creating a drag-and-drop interaction in Storyline. I want the drag objects to snap back to their original positions when they are dropped on an incorrect drop target. I’ve follo...
  • Hello - For this, I would use a 0px motion path animation. See attached.

    First, I duplicated your incorrect layer and called it Try Again and for question design, I updated attempts to unlimited (it was set to 1, so the user technically couldn't try again). You'll want to update the incorrect layer to be whatever your final incorrect feedback is.

    Then, I selected each drag object, and then > animation > add motion path > line > moved the red dot/motion path end point to the center of the object (to make it 0px).

    This creates a trigger. I copied each trigger and pasted them onto the Try Again layer (to trigger when the layer timeline starts). Then I deleted the original triggers from the base layer.

    I hope that helps.