Drag and Drop Target Evaluation
Hi everyone...I am new to Storyline and trying to understand the drag-and-drop behavior. I have a drag-and-drop interaction that I put together, sample in the attached .story file. The interaction works like this:
- Drag a circle into a box.
- If the circle is put in the incorrect box, it snaps back.
- If the circle is put in the correct box, it snaps into place.
- Once all boxes have the correct circle snapped in, the interaction auto-submits and feedback appears.
I thought everything was working well, but in testing I noticed an odd behavior. If a circle is dragged over two boxes, it appears to evaluate against both, and will snap into place on the correct box, even if the circle is primarily over an incorrect box. So in this example, where Drag 3's correct Target is Drop Target 4:
It will snap to Drop Target 4 even though the user's intended target was Drop Target 3.
Is this the intended behavior in Storyline? Is there anyway to limit the evaluation of the drop against only the box the circle is primarily over? I know of two methods:
- I can space the targets out enough that the circle can only be over one. This works, but it can really use up sometimes limited screen space. The extra spacing between boxes doesn't look great either.
- I can create narrow invisible drop targets running through the middle of the boxes, but they still require enough space between them to prevent the circle from overlapping two of them (although not as bad as #1). It also causes the circle to snap to the wrong spot.