Forum Discussion
StephanieMori
3 years agoCommunity Member
Restrictions on drop targets
I am working on a drag and drop and I want to restrict which drop targets the drag objects can use. What I mean is that I have name and mages, and I want the names to only be able to be dropped on name targets, and image object to only be able to be dropped on image targets.
Is there a logical way of doing this?
Attached is the idea of what is on the page and the matches to be made
Thanks!!
- RichardWatsonSuper Hero
Here is one way you can approach that challenge. Use triggers to show an "error" layer if they drop images on text targets and vice versa.
Richard