Forum Discussion
Drag and Drop Issue - How to disable drop targets
I found a band-aid solution which is :
1) Create a "deleted" state for your drop target and you delete the element from the scene in this state.
2) tell your drop target to switch to deleted state when your correct item is dropped inside. So your drop target will no longer display and would be disabled.
3) If your drop target had a specific shape you can tell by a trigger to display a fake drop target instead of the active one when the other one switch to deleted state.
It need more work, but in my case it is less tedious to set up.
Hope this will help you too.
Gillian, I have 3 possible drag items that are all considered correct (just can't have more than 1 in each target. How do I go about disabling the drop target if any of the 3 possible items are dropped?