Forum Discussion
Drag-and-drop snap back after feedback
Hello!
I'm working on a drag and drop interaction where I'm not worried about the learner "getting it correct", I just want to give feedback about each possible item they drag - right or wrong.
So, I created a drag-and-drop activity where I set it up to pop up a feedback layer that is unique for each item dragged into the drop zone. I set it to return items to their starting place if they are dropped outside of the correct drop zone.
But what's happening is the incorrect responses are showing the feedback layer (good) and then the item stays in the drop zone even though it's incorrect (bad).
I tried adding a motion path trigger to take it back to the original spot, but it's awkward because if they drop it a place other than where the motion path begins, the movement looks awkward.
Any advice on having a feedback layer AND getting wrong drops to return to their starting place?
- WaltHamiltonSuper Hero
Try setting the motion path to begin at the spot where you want the object to end up. Use a line path with a length of 0, and turn off Relative Start. When that path is invoked, the object will jump to the spot.
- AlexandraEis782Community Member
This works! Thank you, Walt!
- WaltHamiltonSuper HeroYou're welcome. PIAWYC (Pass it along when you can).