Allow only one item in each drop target - Not working!

In this project, the user has to drag the photo of each person to its correct location below.

I have set triggers that change each picture to a « Disabled » state when it is dropped on the correct location, so the user cannot move it again, once it is dropped on the correct spot.

I have also set the Drag & Drop Options to « Allow only one item in each drop target ».

It works as expected when I drop items to the correct locations.

For example, if I drag the second photo to its correct location, it becomes disabled and I can’t move it again. This is what I want.

But if I drag another photo on the same spot, it removes the first picture, which returns to its original location and remains disabled, so I can’t do anything with it.

Why am I able to drop multiple items to a same drop target when I specified « Allow only one item in each drop target » in the Drag & Drop Options?

I'm using Storyline 360. See attachment below.

8 Replies
Wendy Farmer

Hi JC

I'm not seeing that behaviour in Preview - see this Peek.

If I drag another photo on the same spot, it removes the first picture, which returns to its original location and remains disabled, so I can’t do anything with it. 

This is expected behaviour of 'allow only one item' - it's doing the replacement when you drop another object onto it but I'm not finding that the item is disabled.  Perhaps I misunderstand the issue.

JC Blanchard

How do you disable a drop target? I tried covering it with a transparent shape, changing its state to Disabled, but nothing seems to work.

This is what is happening. After having dragged an object to the correct drop target, this target is still active. If I drag another object on it, it replaces the correct one : https://360.articulate.com/review/content/7aaa6af6-afcc-4d1b-95f4-f7cc22e232fa/review

JC Blanchard

Hi Wendy,

Here is another video explaining more clearly, I hope, what I'm after. 

https://360.articulate.com/review/content/611fe0c7-7b55-4691-8a04-9672b1430a97/review

Essentially, I want to disable the drop target once the correct item has been dropped on it, so that the user will not be able to drop anything else on it.