Limited number of quiz attempts and reset to initial state: can't get them to work together
I have several drag and drop activities, where I'd like to reset the tiles back to their initial state if the user gets it wrong, but also limit the number of attempts. For some reason I can't get this exact behavior to work.
I set the slide to "reset to initial" when revisited, and added a trigger in the "try again" layer to restart the slide. This works great in case I want unlimited attempts, so the learner cannot advance till they get it right.
However, if I want to give them only two attempts AND have the tiles reset to initial after the first failed attempt, I can't get it to work:
If I remove the "jump to slide" trigger from the "try again" layer, then the slide isn't reset to initial after the first failed attempt, because the layer is simply hidden. If I leave this trigger on, then the slide is restarted over and over, regardless of my setting number of attempts to 2.
I tried adding a condition in the "try again" layer, didn't work either.
What am I doing wrong?