I want drop item to retrun to start point and display incorrect feedback alyer at the same time - how?

Hi everyone,

I have a sorting task with correct and incorrect options. I chose the design settings so the drop item returns to the start point when droped outside a correct target.

If it`s dropped on teh correct target, a feedback layer fro "correct" appears.

So far so good.

Now I want a short feeback for drop incorrect as well. But I still want the item to return to the starting point. But If I set the incorrect feedback layer, which shows when the drop item is droped on hte incorrect object, the negative feedback appears but the item then, despite teh settings, stays on the drop target.

 

Is there a work around for me so the drop item reurn to the start if sorted incorrectly, but the user also gets the neg.  feedback?

I attached a story file with 2 slide, explaining and showing the problem.

Thank you for your help and ideas!

5 Replies
Michael Gallagher

Hi Marlene,

Once you showed a layer on the incorrect drop, it ignores the drag object moving back to its original position. To make this work I use a little trick. Add a "Line Motion Path" to the draggable item. Make the path length 1 pixel and remove the trigger that gets automatically added in the trigger panel.

Now, go to the "Incorrect" layer and add a trigger that states "Move "drag object" on motion path "your motion path" when the timeline ends.

Take a look at the third slide in the file I attached.

 

Cheers!

Mike G

Marlene Koch

Hi Mike,

thanks for this awesome workaround - I learned something new again :)

Unfortunately, when I adapted your approach for my real project it didn`t work in the end, because I have several drag items, apearing after another. With your work around the incorrect item snaps back to the start but at the same time, the next drag item appears.

But it seems like you inspired be, because in the end I found another way I want to share with whoever might need it as well one day:

I kept the incorrect feedback layer. But instead of saying I want to show this layer when the item is droped incorrect (this way the item didn`t snap back to the beginning anymore) I added a drop incorrect state to all my drag items and said show layer "incorrect" when the state of the drag item is drop incorrect. This way, the negative feedback is displayed but the item still returns to the start point without the next drag item appearing already! Thats`s it :)

A bit more complex: If you assume the user tries the wrong drop target serveral times and you want the negative feedback not only the first time, you need to add to the feedback layer "change state of drag item back to normal when timeline (of the layer) ends". And to prevent former drag items, which disappeared already because they were droped correct, to re-appear, I created individual negative feedback layer for each drag item.

In the end, it all works the way I wanted it to work :)

Jason Kramer
Michael Gallagher

Hi Marlene,

Once you showed a layer on the incorrect drop, it ignores the drag object moving back to its original position. To make this work I use a little trick. Add a "Line Motion Path" to the draggable item. Make the path length 1 pixel and remove the trigger that gets automatically added in the trigger panel.

Now, go to the "Incorrect" layer and add a trigger that states "Move "drag object" on motion path "your motion path" when the timeline ends.

Take a look at the third slide in the file I attached.

 

Cheers!

Mike G

Mike G,

Just wanted to say, this was a life saver! Thank you for sharing your idea!