States in drag and drop interaction
Oct 19, 2020
I need to create custom drag and drop interaction (I can't use submit interaction button - my case is out of scope of typical d&d).
I've prepared a custom state "dropped" and changed the object to this state when I dropped on another object. And this works fine. But when I change my decision and move the object back (my object is already not placed on any object), the object is still on dropped state (should go to normal state). How could I manage this? What trigger should I add in order to return the object to normal state?