Drag and Drop - triggers not working (SL3)

Hello Community

I'm using SL3

I don't know if this is a variation of issues that others have had.  My drag and drop options have been set to allow more than one item in each drop target and go back to the start position if dropped on an incorrect drop target.  I have created a trigger to change the state of the drag items (text boxes) to hidden once dropped on the correct drop target (pictograms).  The triggers are not working and the last drag item won't go back to the start point if it gets dropped on to an incorrect drop target. 

I have attached the .story file - could someone please have a look to see if they can find what I have done incorrectly.

Thank you,

Linda

5 Replies
Brian Allen

I don't have a lot of time to play with the authoring file you attached, but just wanted to toss out an idea: 

Is default functionality for drag and drop interactions to change the state of an item to "Drop Correct" if dropped into the correct zone, and "Drop Incorrect" if dropped into an incorrect zone?

Regardless, I wonder if you would have more success by using a "Drop Correct" state when dropped into a correct zone, then adding a trigger that will change the state of the object to "Hidden" if the object's state equals "Drop Correct"....

Alyssa Gomez

Hi Linda!

Brian had a great idea, so I took that suggestion and applied it to your project. Here's a quick summary of the changes I made:

  • I deleted all of the "change state to hidden" triggers.
  • I added a "Drop Correct" state to each drag item. Then, I cut the drag item out of the Drop Correct state to make it appear empty.

Check out your updated file, and let me know if that's what you had in mind!