Forum Discussion
Drag and Drop Solution - Sample with Multiple Correct Targets with drag off and return plus a lot more
Here's a sample Drag and Drop that provides almost everything people have been asking for.
1. Any number of targets can be correct for any object.
2. Objects not dropped on target are returned.
3. Targets can be cleared of dropped objects.
4. Multiple objects can be dropped on a single target.
5. On Try Again, it can clear or maintain the previous attempt.
6. Provides feedback that is specific to incorrect answers.
7. Answers can be saved and made available later in the course.
8. Allows partial, multiple, or very complex combinations of Correct answers.
9. Dropping objects can automatically resize or reshape.
10. Can enforce a minimum requirement for number of selected objects before submission is permitted.
There are six examples, and since different ones highlight different features, not every one contains all the features.
It contains explanations of how it works, and instructions for modifying it.
Note: Since it uses a Pick one interaction, regular Drag and Drop options (like objects appearing one at a time, or the various stacking options) are not available through the SL menu, but must be created.
Feel free to use as is, or study it and take just the principle that meets your need.
You can see it action here:
https://360.articulate.com/review/content/6b66b467-4d65-465b-bf44-cab98aa88bf3/review
EDIT: I've changed it to load in 360. Sorry about the confusion.
- IraS-2f53bf61-cCommunity Member
Hi all,
I know this topic may be old but just wanted to give my contribution. I was actually asked by my client to do something similar. Drag and drop interaction with 4 different categories, 3 drop zones/targets each (12 altogether), and 9 drag objects where each drop zone/target could accept one or more correct answers/drag objects. The learner is allowed 3 attempts and a different incorrect layer should popup for every incorrect response after pressing the submit button. I used the standard drag & drop freeform, drop correct & drop incorrect states for drag objects, and customized triggers. I placed the reset button on the third incorrect feedback so interaction could be started from the beginning. Nothing too fancy and easy to understand. The "All correct" variable at the top will let you know if an interaction is correct or incorrect in real-time before hitting the submit button. Hope someone may found it useful.
https://360.articulate.com/review/content/00a961b2-2855-4229-9126-44a6604a1424/review
- elearner-f0fe86Community Member
awesome IRA
- WaltHamiltonSuper Hero
You get the error message because the variables Choice1 - 6 start as blank. Then Continue may be clicked before all six are drug someplace. So the ones that haven't been moved are blank. It is those blank ones that are triggering the duplicate message.
One way to fix that might be to put some sort of unique message in their default value.
To display the text in the matrix, change these triggers:
to this:
If you have other questions, just ask.
- NejcZDCommunity Member
I cannot open the file in the regular SL version, but I can do it in the beta version.
Have you used a beta version to develop this? I am afraid many people won't be able to open this (until the new version is out at least ...).
- NejcZDCommunity Member
However ... I do like the trick you used to return the item back to the original location ... motion path with zero px length -> very nice! :)
- JanetCCCommunity Member
Thank you for posting this. Unfortunately, I was unable to open the file in Storyline and I don't have the beta version of Storyline.
- WaltHamiltonSuper Hero
I've updated it. Try it now.
- JanetCCCommunity Member
You're awesome - thank you!
- ChrisPim-7dc640Community Member
Me neither...can someone share the tricks in principle at least
I need to find a way to allow a user to reset the DnD interaction multiple times without using the reset to initial state property of the slide...
- WaltHamiltonSuper Hero
Chris,
Try it now. What I've done is to split the learner's part of the interaction, and the evaluation, putting them on two separate slides. The learner drags, and when they submit, the answer is evaluated, and sent to the Pick One interaction slide, which has the Quiz functions on it. The Try Again button does use Reset to Initial State, but the quiz functions, like the number of attempts, aren't restarted.
If that isn't exactly what you need, one of the Complex Graphics with Reset is on one slide, and Resets without Restarting the Slide.
- ChrisPim-7dc640Community Member
Thanks Walt I will take a good look
I found a solution to my problem of having 9 draggable objects that can be dropped onto 9 drop spots...any object can be dropped on any drop, but only one object allowed on any drop spot. Drops that fall outside a drop area or drop on an already used spot return to initial location. Once complete a reset button can be clicked which resets to default.
The way I did it, as I know which drag object is on which drop spot, was to set up an animation to move the object from its current location back to it's start location using variables and triggers...It's a 9 X 9 interaction requiring 81 different animations, but it's quite elegant and looks great as it resets.
- ChrisPim-7dc640Community Member
My solution works Ok. But I need an option to reset the drag and drop interaction on certain conditions but not always. The only effective/reliable way of resetting I can see is to reset the slide to initial position on revisiting the slide. But this means the interaction always resets...sometimes I want the user to continue or change their darg and drop choices and at other times I want it to reset to initial starting point.
Is there any way to achieve this with the Storyline revisiting option? Any help greatly appreciated.
- WaltHamiltonSuper Hero
If you are only wanting to revisit once, you can do it with duplicate slides, one which saves, and one which resets. Start the learner on the one that saves, and when they are through, send them to the reset, or save as appropriate. The problem is that if you want to send them back multiple times, If their path is, for example, Save, Reset, Save, it won't work because the second trip to save will show the first save condition, and not the second.
Of course, if you want to get really wild, you could have a whole bunch of copies, and variables to keep track of them, and you could send them back as many times as you could stomach. Set them all to save, and each time, either send them to a new one, or the most recently visited one.
- ChrisPim-7dc640Community Member
Yes it's a solution i had considered. Thanks for your help.
Chris