Drag and Drop - Reset Drop State on Freeform Slide
Jan 16, 2019
I'll try to make this as short and simple as I can.
See attached images for reference.
I have a freeform D&D slide. I am not making use of the built in interaction because I have more drag objects than drop areas. This is all trigger based.
Objects named "C(1-4)" are the correct drag items. I1 and I2 are incorrect. As you probably guessed, "D(1-4)" are drop targets. It all works fine if the learner drags any of the C1-4 drag items to any of the four D1-4 targets. It works fine if any incorrect drag object is dropped on a D target. The issue I am having is with someone who changes their mind before submitting their answers.
If an I1 or I2 object is dragged to a D target, the state of the drag item is set to Drop Incorrect. If the learner changes his/her mind and drags that object back, the state does not change back to normal. It remains in its Drop Incorrect state.
My triggers are built to set the state of an object as it is dropped on a target. How can I set the state back to normal if the learner changes their mind and drags it back (snaps back really)?
Thanks!
SLv2
4 Replies
Problem solved.
Seems my brain was in an incorrect state. Mixed up a few triggers. All is better now.
Nice job, Mike! What was the culprit?
If you hit a similar roadblock again, don't hesitate to reach out!
I had my objects crossed (see attached). Mixed two objects such that a single incorrect drop would throw the interaction into a loop.
Ah, thanks for popping back in to share Mike.
This discussion is closed. You can start a new discussion or contact Articulate Support.