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.
What do you mean by "Deleted" state? Do you mean Disabled?
- JasonKramer6 years agoCommunity Member
JC,
I tried the "deleted" state approach and it worked. By "deleted", is just a custom state where the actual object that was setup as the target_object is literally deleted, such that there are no actual objects in that state.
- GillianDelvigne6 years agoCommunity Member
Exactly! :)