Forum Discussion
Drag and Drop RESET option
Here is another way to return dragged objects to the original starting point for multiple retry attempts without having to use a variable:
1. place an add motion animation onto each drag object.
2. set the start and end points to the same point (when the drag object is in its original spot)
3. set duration to 00.10
4. on the Try Again layer - and on the Try Again button set a new trigger for each of the drag objects. (Move 'object' on LineMotionPath1 when the user clicks Try Again button
and that's all you need to do! :)
cheers Gerry
- LaToyaWillia1686 years agoCommunity Member
Hi Gerry, I know this is an older post but thanks for this tip! It worked so well for me!
- GerryMcAteer-866 years agoCommunity Member
Thanks LaToya sorry for the late reply :)
- KimberlyLococo-6 years agoCommunity Member
Thanks so much Gerry! I wish I had seen this long ago! This just fixed all of the issues I was having with resetting the dragged items!
- GerryMcAteer-866 years agoCommunity Member
No worries Kimberly only to glad to share this tips and tricks with others in this forum, it is such a helpful community!
cheers Gerry :)
- MarkSiegrist-c06 years agoCommunity Member
Thanks Gerry! I think your solution is the best/cleanest.
- GerryMcAteer-866 years agoCommunity Member
Glad you found it useful Mark! thanks for your kind feedback. cheers Gerry
- ClaudiaScheel5 years agoCommunity Member
Hey Gerry,
that`s the perfect solution when you have animations! I don`t have a problem with variables, but setting the state back to initial state means that all animation start again, too. Thank you!
- ClaudiaScheel5 years agoCommunity Member
ah I ran into a problem with this solution while testing it: When I want to drag the object during the 2nd attempt, every element I droped in the first attempt will suddenly switch to the dropzone.
- IsabelPatio-4225 years agoCommunity Member
Life saver, and so simple. Thank you very much!!
- NoraMurphySilve5 years agoCommunity Member
TY for this trick!
- GerryMcAteer-865 years agoCommunity Member
Glad you found it useful Nora :)
Cheers Gerry
- DCopenhaver5 years agoCommunity Member
After all these years, this is a great nugget of knowledge.
- GerryMcAteer-865 years agoCommunity Member
Thanks D! I know what you mean I wish I have found some gems sooner as well! :)
- jdlaf4 years agoCommunity Member
Hi Gerry! I know this is a bit of an older post, but what a great solution! It was easy to set up and works great :)
I noticed a small bug though and was wondering if you might have a solution. I tried everything and cant seem to fix it. It seems like storyline remembers what you answered in ur first attempt (because the quiz isnt truly resetting).. so if u answer something correctly on the first attempt, but then leave it and dont drag it at all on ur 2nd attempt, the state of the object still changes to 'correct' when you click submit on the 2nd attempt. Am I making sense? lol let me know what your thoughts are!- GerryMcAteer-864 years agoCommunity Member
Hi Jean-David, yes you are making sense and after looking at it there doesn't see a way to reset the first correct condition of a single object to target without having to set the base layer to 'Reset to initial' and then place a trigger to jump to the drag/drop slide. So the scenario would be to keep any correct placed items on the relevant target and return the incorrect when the try again button is selected. Please see attached (added a conditional on the move trigger for each of the objects).
- SeanQuinn3 years agoCommunity Member
Thanks, Gerry.
- Mairi-AnneNel-a2 years agoCommunity Member
Thanks, Gerry. You've solved my problem. :)