Correct answer for drag-and-drop based on number of items, not name of items

See attached image. 

Here's what I want to do:

Allow the user to drag any number of the items circled in green to the "Detection/Input Devices" box  (the drop target) without having to select specific items. 

With the example shown, the correct answer for the drag-and-drop (D&D) interaction is based on the user choosing any four of the items in green. The answer is determined by the number of items in green dragged to drop target in red irrespective of the item/object name(s) on the slide. 

I would need to replicate this for the other groups of same items as well.  

Here's the problem

Because the drag item—drop target matching is 1-to-1, during the D&D interaction the user has to know to select four specifically named items (but visually identical to other items) from the two dozen total that are matched to drop target. Thus, a correct answer could not be achieved until, after, hundreds of trial-and-errors. 

If this is not possible with the limitations of D&D interaction is it possible to build a a D&D from scratch and add actions, variables, triggers, conditions, etc. to accomplish this? 

 

6 Replies
Christie Pollick

Hi, Jared -- Thanks for reaching out! I wanted to stop in to note that it may be easier for others in the community to offer suggestions if you were able to share the file itself. Please use the grey ADD ATTACHMENT button in the bottom left of the reply box and browse/upload from there. 

And, for additional design advice and input, you would be welcome to post over here in our Building Better Courses forum, as well. :)

Bill Kelleher

Hi Jared, 

A variable count could probably help you here. Set up a number variable, and on each of the possible objects set up the following trigger:

Adjust variable (add 1) when the object dragged is dropped on the intended target with the condition that the object's state equals drop correct. 

You'll have to add a drop correct state (simple as duplicating if you don't want an effect) and you should be able to quickly copy that trigger to each object.

On submit, check to see if the variable is greater than or equal to 4. If not, the answer given is incorrect.

I hope this helps some.