Forum Discussion
Drag and drop issue
Hi,
I have an issue with a drag and drop activity. I need to have multiple correct answers. So the same draggable object have sometimes to be correct on 2 different target. How can I make this ? Morever, the objects have a correct / incorrect state that have to be revealed after submitting.
Also, some of the objects have to stay at there initial position (not be dragged at all)
For now, I've set the correct / incorrect state but it's reavealed automatically before submitting... Also, I didn't set the correct / incorrect layers yet because I don't know how to deal this with the drag and drop form...
Let me know if you can help me ! I've attached the story file + a image of the correct answers.
Thank you !!
- WaltHamiltonSuper Hero
Check this sample. It has multiple correct answers, some items that are not moved, and target, specific feedback. I don't think it has states (it's old, and I haven't worked on it for a while), but they should be pretty easy to add.
- ornellaLRCommunity Member
Thank you for getting back to me! That's a very complex project, you're a pro!
I don't have time to set all this process for this project so I will simplify.
How do you do to change the state of the draggable objects to correct drag / incorrect drag after submitting the question with a freeform drag and drop ? I need the colors to display only on the correct / incorrect layers and I tried multiple triggers with variables... still not working
- WaltHamiltonSuper Hero
The built-in Drag activity is incompatible with multiple correct targets.
To get that and delayed state changes, you'll need to do something like the attached sample.