Forum Discussion
How to set drag and drop to advance to next slide?
I am trying to create an interactive story where the learner needs to drag and drop an item to advance to the next slide instead of the boring old clicking through.
I have set the slide to freeform. I selected the object item and target item on the form (image attached).
I have changed the options to not have any feedback or pause (image attached).
I set a trigger for jump to slide when object is dragged over target. (I've tried both drag and drop options in triggers and drag seems to work better than drop).
However, it is not advancing to the next slide. I have changed the submit in trigger to submit when object drag/drop over target and that doesn't work either. I've made sure the trigger and form object and target are identical.
If it fails to work as I've set it, it lets the user pick up object but does not accept the drop or doesn't advance when object is dragged to target and the user is stuck. Some slides work and some do not, all triggers/form/options identical.
I feel like there's a step I'm missing but I can't figure it out. Please assist.
- WaltHamiltonSuper Hero
If all you want is advance when one object is dropped on another, It's pretty simple. You don't need a free form quiz. Any object is draggable if it has a drag trigger attached to it. So the quiz is causing part of your problem. I think I saw something about a group in one of the pictures, and most likely that is causing problems, too. Groups don't play nicely with triggers, (or states, or ...) If you have to group things (personally, I've seldom seen a compelling justification for groups), and want them to work well, your best bet is to add all the objects to a state of one of them. Looks like a group, acts like a single object. End soapbox.
All you need is one trigger to advance to a specific slide when one object is dropped on another.
See the attached sample.
- MaggieMoore-43bCommunity Member
- WaltHamiltonSuper Hero
The triggers look good. If you are previewing only that slide, it will not advance, nor give you an error message. Be sure to preview the whole scene, or at least select both slides and view Selected Slides.
- MaggieMoore-43bCommunity Member
Yes, I was previewing the entire project and even uploaded it to the LMS, however the user can drag the image but it still wont advance to next slide.
Hi Maggie,
Would you be willing to share a copy of your project file here or in private by opening a support case so we can take a closer look at how the overall interaction behaves? We'll delete it when we're done testing!
- MaggieMoore-43bCommunity Member
Thank you for the reply! I have sent in a case.
Hi Maggie!
I see that you're working with our colleague Darwin within your support case. You are in great hands!
We'll continue the conversation over in your case via email.
Have a great afternoon! ☀️