Forum Discussion
Help with drag and drop please
Hello
Newbie here. I'm creating a drag and drop and was hoping there is a way to make just two of the objects spring back to where they were before dragging. There are six circles on the slide and circles 2 and 6 are the incorrect answers. Is there a way to make just those two circles to spring back to where they were. The other four can stay stacked on the image.
Here is the link: https://360.articulate.com/review/content/9aedb1a3-3df9-4e60-bdfe-e48a4ad5b000/review
Thanks so much in advance.
- JoanneChenSuper Hero
Hi Julie,
Here are the steps to acheive what you want:
- Add two hotspots as drop targets for the incorrect drag objects and place them under the incorrect drag objects) .
- Add the default "Drop Incorrect" state to both of the incorrect drag objects.
- Set a trigger to show the incorrect layer when any of the incorrect drag object's state is Drop Incorrect.
- Have "Return item to start point if dropped outside" checked on the drag item options.
So when the incorrect object drops on wrong target, it will change its state to Drop Incorrect and open the incorrect layer and then return back to where it was.
- JulieRickCommunity Member
Thank you so much Joanne, I will go and try that straight away. Much appreciated :)
- JulieRickCommunity Member
Hi Joanne
I am still missing something I'm afraid. Are you able to check out this video of the changes made to see if you can figure out what I am doing wrong please?
https://www.loom.com/share/f722c1e4bbc5485988cb2e4508ac6760
Thanks so much in advance.
- JoanneChenSuper Hero
Hi Julie,
- The hotspots should be placed "under" the incorrect drag objects not "below". The drag objects will be on top of the hotspots, so they will be only dropped on the original position even even if on purpose.
- Do you add the default "Drop Incorrect" state to both of the incorrect drag objects? I do not see this from your video.
- The main problem is to show incorrect layer trigger not when incorrect item drops on Correct target but "when any of the incorrect drag object's state is Drop Incorrect".
- Set return item to start point if dropped outside "a correct drop target" not "any drop target".
- JulieRickCommunity Member
Thanks Joanne, apologies for the misunderstanding. I have moved the hotspots behind the incorrect drag objects and changed the drop target to 'a correct drop target'. I believe I have now changed the state, but I'm just going to do another video to show you the progress as I still can't get the incorrect drag objects to go back to their original spot.
https://www.loom.com/share/3d03bfaf66b4415e9ef19adf552e0620
Thanks so much in advance :)
- JoanneChenSuper Hero
Hi Julie,
From your video, you still use the wrong triggers to show incorrect layers. (the 3rd point mentioned)
Show incorrect layer trigger NOT when incorrect item drops on Correct target but "when any of the incorrect drag object (the circle not the drag item group) state is Drop Incorrect".
- JulieRickCommunity Member
Hi Joanne
Thank you so much for persisting with me. I"m so sorry I just didn't get it. But it is all working now. Really can't thank you enough.
Cheers
Jules :)