Possible to trigger a snap back of drag items? Nov 05, 2013 By Job Vlaming Hi, I'm trying to build a reset button in a drag and drop slide. When clicked, certain, or all drag items should snap back to their starting positions. Is there a way to do this? I actually prefer a solution that involves not having to convert my slide to a freeform drag and drop interaction. Thanks! Ayoub
Phil Mayor Hero over 10 years ago11/05/13 at 7:58 am (UTC) The only real way would be to reset the slide
Ashley Terwilliger-Pollard Staff over 10 years ago11/05/13 at 9:55 am (UTC) Hi Ayoub, It's not a "reset button" necessarily, but you may want to review this tutorial from Becky on how to reset it when a user "tries again."
Job Vlaming Author over 10 years ago11/05/13 at 11:55 am (UTC) Thanks Ashley and Phil for your quick responses! I thought of another way just as I finished a nice dinner today. Good food for thought, I guess. I moved all of the drag and drop objects to a new layer 'drag and drop'. I set the layer to reset to initial state when revisited I placed a reset button on the base layer. Now when you click Reset, two triggers are fired: hide layer 'drag and drop' show layer 'drag and drop'. I then made the items draggable using the 'when the user drops a shape on'- triggers. Now, the user can reset the game by clicking reset. Yippee! Now for dessert ...
Ashley Terwilliger-Pollard Staff over 10 years ago11/05/13 at 12:34 pm (UTC) Thanks Ayoub for the update, and enjoy your well earned dessert!
4 Replies
The only real way would be to reset the slide
Hi Ayoub,
It's not a "reset button" necessarily, but you may want to review this tutorial from Becky on how to reset it when a user "tries again."
Thanks Ashley and Phil for your quick responses!
I thought of another way just as I finished a nice dinner today. Good food for thought, I guess.
Now when you click Reset, two triggers are fired:
I then made the items draggable using the 'when the user drops a shape on'- triggers.
Now, the user can reset the game by clicking reset. Yippee!
Now for dessert ...
Thanks Ayoub for the update, and enjoy your well earned dessert!
This discussion is closed. You can start a new discussion or contact Articulate Support.