Restrictions on drop targets

Feb 03, 2022

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!!

1 Reply