Drag and Drop - triggers not working (SL3)
Apr 05, 2019
By
Linda Hummel
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
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"....
Thank you for the quick reply, Brian. Unfortunately, "Drop Correct" isn't an option, as far as I can see. I have also used the method in this project successfully in a previous project.
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:
Check out your updated file, and let me know if that's what you had in mind!
Yay, Thanks Alyssa!
Yes, Alyssa, that is what I had in mind.
I totally missed the word "state" in Brian's original suggestion and mistook it for a trigger.
Thank you to both of you for your help on this!!
This discussion is closed. You can start a new discussion or contact Articulate Support.