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

Feb 17, 2019

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.

15 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.

Walt Hamilton

Math's sample makes it so that only one object can be dropped on a target ever.

I think what you are asking for is the attached sample. Each target becomes disabled only when the correct object is dropped on it. For each person, delete the other triggers. Then on slide 1.1, I added a rectangle and a trigger (only to Amande) that resets the target if the correct object is dragged off it.

Or if you don't want the object dragged off after it is dropped on the correct target, see slide 1.2. Again only Amande works.

Kelly Auner

Hi Badr,

Thanks so much for reaching out!

  • First, you'll want to create a Drag & Drop slide.
  • Next, select the Design tab on your top ribbon, then Drag & Drop Options
  • A pop-up window will open where you can check the box for Allow only one item in each drop target

                             Windows 11 2023-12-11 at 10.52.18 AM

I hope this helps!