I have a drag and drop interaction where the draggable items change state when you drag them over the question area. I have it set to where they snap back to the origin if you drop them outside of a drop target.
How can I set a state for when they return to their origin?
I've tried using various triggers, but since the draggable objects are moving automatically and not being dragged by the user, they don't work.
Wow thank you for that detailed answer! I appreciate it.
Unfortunately, I don't think it will work in my case because I'm already using "drop incorrect" as its own state. So I have to use the "return item to start point if dropped outside ANY target" option.
I was hoping there was a way to do it with a custom state (like a "dropped outside of target" state rather than "dropped incorrect").
You know what, I think I was actually able to use the "drop incorrect" state after all. I just set a custom trigger for the state it should be when it was dropped on any target to override the drop incorrect state.
The solution ended up being
Trigger: When the object is dragged into the question area --> custom state
Trigger: When the object is dropped onto any target --> custom state
Freeform drag and drop settings: When the object is dropped outside of any target, snap back to origin
4 Replies
If you use convert to freeform you can you use the drop correct/incorrect to do what you want. Here's a video that shows how.
Wow thank you for that detailed answer! I appreciate it.
Unfortunately, I don't think it will work in my case because I'm already using "drop incorrect" as its own state. So I have to use the "return item to start point if dropped outside ANY target" option.
I was hoping there was a way to do it with a custom state (like a "dropped outside of target" state rather than "dropped incorrect").
Thanks again!
Deidre
If you shared the interaction, that may help come up with some workarounds once we see what you want to do.
You know what, I think I was actually able to use the "drop incorrect" state after all. I just set a custom trigger for the state it should be when it was dropped on any target to override the drop incorrect state.
The solution ended up being
Trigger: When the object is dragged into the question area --> custom state
Trigger: When the object is dropped onto any target --> custom state
Freeform drag and drop settings: When the object is dropped outside of any target, snap back to origin
Drop Incorrect state: Identical to Normal state
Thank you again for all your help!!
Deidre
This discussion is closed. You can start a new discussion or contact Articulate Support.