Automatic response when a Drag and Drop is completed

Jul 02, 2013

Hi there..

I am new user and I have created a Drag and Drop interaction where 8 out of 16 drag items match correctly with a single drop rectangle item. The other don't belong to the rectangle and I have customized the freeform so that the wrong choices snap back into their place if dragged. Now I want a message to appear when all the 8 correct choices have been dragged into the rectangle (and say 'Well done!"). How do I make that happen?

Indranil

3 Replies
Christine Hendrickson

Welcome to E-Learning Heroes, Indranil!

You could definitely do something like this pretty quickly with some states and triggers. But first, how do you want the "Well Done!" message to appear? Would a layer work for you?

First, what you'd want to do is create a state for the drop objects. Have the objects change to that state when they're dropped onto the target. For example, you could use one of the built-in states "DropCorrect". 

So, you could create a trigger that first changes the object's state to the "DropCorrect" state when the object is dropped on the target:

Then, after applying that to all of the shapes, you'll want to trigger the layer or the "Well Done!" prompt:

I'm attaching a quick example I created, just in case you'd like to see if this is something that would work for you.

Let me know if you have any trouble with this or any questions.

Thanks!

This discussion is closed. You can start a new discussion or contact Articulate Support.