Drag and Drop - unsetting a variable/state

Dec 28, 2012

Hello

I know how to use triggers to set a variable when a drag and drop answer is dropped on a receiving object.

But... I want to change a variable or a state when I REMOVE the dragged object from the object on which it was dropped and bring it back to its original position. In other words, can I UN-drop it somehow and restore the object's variables to their original state?

Thanks for any thoughts on this.

Andrew

3 Replies
Alexandros Anoyatis

Here's a draft story (the transparent button still contains text to help understand placement) of what you want to do, using buttons instead of hotspots. The reason to use buttons is simply to be able to use states which comes quite handy in this example.

There's a lot of ways you can improve this (i.e. make an ungraded freeform drag and drop - for either the drop, or undrop process).

Hope it helps,

Alex

This discussion is closed. You can start a new discussion or contact Articulate Support.