Forum Discussion
ChristopherG508
3 years agoCommunity Member
Reset the counter on several Drag and Drops in a row
Hi there,
I'm having a problem with resetting the "try again"-counter. In my training, there are 2 Drag and Drops in a Row. The number of attempts is 2 and I have one correct, false and try again ...
ChristopherG508
3 years agoCommunity Member
What I tried out is to set a variable on the second DaD "set attempts to 0 when timeline starts (on the base layer). But now I have unlimited attempts in case my first answer is wrong. I guess, there is only one more variable missing, like setting the number of attempts to 0 when the timeline starts, but only once. So that the variable "adding the value of one" when the user clicks "try again" works. Right now I am in a loop: it is adding the value of one when I click "try again"; but the I get back to the base layer where the number of attempts is set back to 0. It is probably very simple to solve, but I don't get it :-)