Forum Discussion
restore dragged object position if dragged into incorrect place.
Hi, I also came here looking for a snap-back solution but the above suggestions don't address moving the incorrect answers back to their original position once the Submit button is pressed.
I then found the following YouTube video, by David Anderson, that is the PERFECT fit. David suggests creating a motion path animation for the drag objects and using a trigger that sets a Motion Path but the path is zero pixels long (ie. the start and end position is the original position - where you want it to snap back to):
https://www.youtube.com/watch?v=PdhSjUOva4Y
In my project I have 8 Drag labels that need to be dropped at the top of 8 descriptions and I'm giving them unlimited attempts at it.
The only changes I made to my project was to change the trigger for the motion path to occur when the learner presses the Submit button (not based on the timeline, like David suggests). I also didn't add a "Drop Incorrect" state so that the "incorrect" objects look "fresh" when they are returned to their starting point after the Submit button is pressed.
Related Content
- 12 months ago
- 9 months ago
- 12 months ago