Forum Discussion
Drag and Drop RESET option
Is there any way I can get the drag and drop objects to reset but still have the try again button on the try again layer retain its visited state?
I think a more precise question is "How can I make the More Info button show if the Try Again layer has been visited?" Jumping to this slide, or to 0 sec on the timeline of this slide resets the state of the objects, so you can't use the state of the Try Again button. I think that is for the best, because states can be finicky.
Nevertheless, if you are enamored of the concept, There are two slides in the sample that use it.
The Least Preferred slide jumps to 0.01 sec, which maintains the state of the Try Again Button.
The Less Preferred slide jumps to the beginning of the timeline, but doesn't maintain the state of the Try Again button.
I should warn you that neither of these method restarts the slide completely,, so the dropped locations are retained. On the second attempt, if you drag an object over a previously dropped incorrect objects, that object jumps to its former drop spot. That is one reason I prefer the last method.
The only really reliable way to do this is to write a note to tell the system that Try Again has been visited, and the More Info button should be changed to its Normal state. Programmer-type people call that note a variable. I used one on the Most Preferred slide, along with a Jump to this slide trigger. The jump resets the state of the objects on the slide, but doesn't change the variable, so it can be used reliably to set the state of More Info.
All the changes I made were made on the Try Again layer, where you can see the variable in action. I created some triggers to show the More Info button if Try Again has already been visited. I disabled others that aren't needed.
Then on the Changing Hints slide, I added an additional variable that allows you to track the number of attempts, and give additional hints on succeeding attempts.
FYI, you don't normally need triggers of this type:
New layers are created with a default setting to hide other layers, so showing Review will Hide this layer.
- KarenWicks-029a3 years agoCommunity Member
Hi Walt,
Thanks for the information. I'm going to give it a go now.