Forum Discussion
How do I disable a drop/drag target?
- 16 days ago
Thanks for the help, but neither suggestion fixed my problem. I don't want to disable the items (i.e., draggable answers) because that would give away that the answer can't be used again. Having the answers appear multiple times doesn't help either.
What I ended up doing was moving the targets off the screen once the correct answer had been dropped on them. A duplicate of the draggable answer appeared to show that feedback while the drag item reset to its original location.
Thanks again for the help.
Hi, because your items return to their start point, the target is empty again after a correct drop, so the simplest fix is to disable the drag item rather than the target. Add a trigger: change state of [item] to Disabled when [item] is dropped on [its correct target]. It snaps back as now, shows your layer, and can't be dragged again. Any other item dropped on that target is incorrect for it anyway, so it will just return as normal.