Hello! I am attempting to set up a drag and drop interaction where an incorrect drop causes the item to return to its starting point and also change the state of the character in the slide. So far, I am able to get the Return to Start Point feature working, but as soon as I add a Change State trigger for my character, the Return to Start stops working. I am not using a submit button, if that makes a difference. Can anyone help?
I got it! After searching more and reading that triggers can override the automatic Return to Start feature, I ended up adding manual triggers to accomplish the same effect:
1) Added new state "Drop Incorrect" to my drop items
2) Created a manual trigger to Move the incorrect item back to its start point when dropped on the target - Path is a straight line from the drop target to the starting point of the object dropped, also set the time of the animation to .10 sec.
3) Added a trigger to change the state of the item to Drop Incorrect if dropped on the target
4) Added a trigger to change the state of the character if the state of Any of the (incorrect) dropped items are Drop Incorrect.
Attaching the slide here :-)
If there is a shorter way, I'd still be interested in learning that!!
Not a shorter way that I know of - because as you mentioned adding triggers overrides the built in functionality. Thanks for sharing your example here - as I know others often as similar questions so it'll be helpful if they come across this thread.
3 Replies
I got it! After searching more and reading that triggers can override the automatic Return to Start feature, I ended up adding manual triggers to accomplish the same effect:
1) Added new state "Drop Incorrect" to my drop items
2) Created a manual trigger to Move the incorrect item back to its start point when dropped on the target - Path is a straight line from the drop target to the starting point of the object dropped, also set the time of the animation to .10 sec.
3) Added a trigger to change the state of the item to Drop Incorrect if dropped on the target
4) Added a trigger to change the state of the character if the state of Any of the (incorrect) dropped items are Drop Incorrect.
Attaching the slide here :-)
If there is a shorter way, I'd still be interested in learning that!!
Hi Lauren,
Not a shorter way that I know of - because as you mentioned adding triggers overrides the built in functionality. Thanks for sharing your example here - as I know others often as similar questions so it'll be helpful if they come across this thread.
Thanks, Ashley :-)
This discussion is closed. You can start a new discussion or contact Articulate Support.