Drag & Drop Interaction: Small Issues

May 11, 2022

Good day to you all! First time poster, long time reader... 

I've created a drag and drop interaction, which I've attached, which works (for the most part) with a few 'small issues'. Here are the issues I hope to fix...

1. When correct, I would like the answer to 'lock in' to the description shape. Currently the correct answer will stay where dragged and dropped. I just think it looks cleaner if it 'locks' into the shape.

2. When incorrect, another choice displays. I'd like for the next choice to display only after a correct pair is made.

I hope that describes my issues, and I would greatly appreciate any ideas on how to fix it. Thank you all, love the community here!

 

8 Replies
Maria Costa-Stienstra

Hi, Shannon.

Thank you for sharing your .story file!

While our talented community members will be your best bet in providing recommendations, I wanted to offer a suggestion for your first question:

When correct, I would like the answer to 'lock in' to the description shape.

Instead of using your Groups, you can create a small transparent target and use "Snap to Center" in the Drag and Drop options. In the example below, there's a blue rectangle I used as the target. I converted it to a transparent rectangle once in position:

Windows 10 (1) 2022-05-11 at 9.15.55 AM

Preview:

Screen Recording 2022-05-11 at 09.17.48 AM

I hope this helps!

Shannon Buford

It did work! I had an incorrect match in the original, and that led to me thinking it wasn't reordering them properly. Thank you VERY much for your help.

Is there any way of having only one answer appear at a time if matched incorrectly? I'm trying to think if there is a way I could use a variable, but I think it would get pretty 'weedy'...