Complex Drag and Drop Issue
May 10, 2013
I would like to create a drag and drop exercise with 16 drag objects and two drop targets (A & B.)
5 of the drag objects should be dropped onto A - no problem.
5 of the drag objects should be dropped onto B - no problem.
4 of the drag objects should not be dropped on either A or B - no problem.
2 of the drag objects could be dropped onto either A or B - problem!
When matching the drag and drop items in the question window, the drag item disappears once you have used it. Consequently, you can never assign multiple drop targets to a drag object. I have looked for settings that will change this behavior but I just can't find them.
My poor-man's solution...
I can create two versions of a drag object and place one over the other so they appear to be one object. One gets assigned to Drop A and the other gets assigned to Drop B. This could only be called a solution if I make the drag objects return when dropped outside of the correct drop target (in effect, not allowing them to get the question wrong.) Even then, the learner could certainly become frustrated when dropping onto what they believe to be the correct answer.
Has anyone else encountered this issue? Better yet, does anyone have a solution?
Thanks!
Ward
5 Replies
Hi Ward,
Take a look at the attached. I have two targets, and only 4 drag items. But I think you can take it and extrapolate.
Drag A can only be dropped on target A
Drag B can only be dropped on target B
Drag A or B can be dropped on A or B
Drag None should not be dropped on either.
A, B, and C have Drop Correct States.
None has a Drop Incorrect State.
Triggers are set to change A, B, and C to drop correct when they're dropped on the appropriate targets.
Note that the trigger for Drag A or B is:
Action: Change state of
On Object: Rectangle 3 A or B
To state: Drop Correct
When: Object dropped on
Object: Rectangle 3 A or B
Dropped on: A B.
THAT IS, there are checkmarks for both rectangles targets A and B.
And, note that the trigger for None is similar, except it's set to Drop Incorrect.
Then triggers are set to show the correct layer and incorrect layer when the Learner clicks Submit IF:
and you'll see those in the trigger panel.
Let us know if this works for you and/or if you have any questions.
And note that my inspiration came from this thread that I'd come across quite some time ago. Just a minor addition for your request, since Mr. Timmerman's example didn't have a "no drop" in it.
Oh, and I've created a fun little visual if the drop is correct or incorrect just so you can see what's going on. Obviously if this were truly a quiz you wouldn't want to alert the Learner
Thanks! That is a great solution. I was so focused on using the D&D interface to assign drop targets that I did not think to assign everything to "None" and develop the interaction using triggers.
Glad it may work for you. It "takes a community", eh? I wouldn't have been able to do it without the head start from Wim Timmerman.
Enjoy the weekend.
I know this thread is quite old but I was wondering if someone may be able to help.
This is exactly what I need, but I would like the incorrect choice to snap back into place as well as change state. Is that at all possible?
Hi Jodi! This thread is a bit dated and I know that Rebecca does not make it back to the forums unfortunately. Have you tried to set this up with triggers as explained above? Do you have a .story file that someone in the community could possibly assist with?
This discussion is closed. You can start a new discussion or contact Articulate Support.