Drag & Drop: 2 Drag items, multiple drop targets

May 14, 2014

Hello all. Im just learning how to use Storyline. While I have seen similar posts, Im still confused so here are my questions.

I have 2 Drag Items (head shots actually) There are 5 drop targets. The design calls for the learner to drag each head shot to the several drop targets that would be the "best fit".  But here is the catch. Each time the learner drags a headshot, they are supposed to get a Correct or No Try Again type feedback.  Until both are in their correct multiple targets.  So say Drag Item A goes to Drop Items 1, 3, 5. Drag Item B goes to Drop Items 2, 4. 

Is this even possible? Also, I need to give feedback for each attempt rather than waiting to submit and get feedback.

Thanks so much.

Denise

6 Replies
Ashley Terwilliger-Pollard

Hi Denise and welcome to Heroes! 

It sounds like your drag items can be correct under multiple scenarios? The built in functionality only allows for a drag item to have one correct drop target - but what you could set up is a more custom drag and drop functionality where you'll add triggers to show a particular layer when an item is dropped on a particular shape or track it based on adjusting a variable. 

There is an example here, and another one here that you may want to take a look at to get started. Hope that helps! 

Denise Wilson

Okay so this is close BUT I don't understand how to add feedback.  I set up the true false variable but the dragged item just stays there and while I can get the feedback to display using the layer, I can't figure out how to get the feedback to go away and the drag item to go back to where it was for the false. Here is the storyline file.  Also to test I was using the blue button but I really need to use the green circles.

Thanks for ANY help you can give as Im truly stumped.

Denise

Ashley Terwilliger-Pollard

Hi Denise, 

You'll need to add a trigger to hide the layer - and I'd add it to the layer itself. So under what scenario would you want it to be hidden? I saw you had a trigger on the main slide to hide it when a variable changes - if the variable is equal to False, but I see nothing that adjust that variable and the default value is False...so it's not changing at all to allow for the layer to be hidden. If it were - that wouldn't work with the trigger you have set up for the "show layer" if the value is equal to false. 

You also can use the green circles - as it's any object that is on your slide is available to have an "object dropped on" so I'm unclear as to why you're using the blue button. 

Denise Wilson

Hello.  Thanks so much for the quick response.  Basically the design calls for you to drag each head shot to the right circle.The top headshot goes on 1, 3. and 5. The bottom goes on 2 and 4.  When you drop a headshot on a circle, you are supposed to get feedback. IF its the right one stays. If not, should go back and try again.I was using the blue button to see if it made any difference.

So Im trying to figure out how to use layers and triggers to get it to do that.

Thanks

Denise

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