Resetting variables on each slide
Apr 15, 2019
Hi, community! I am giving this weeks challenge a crack and have hit a snag.
I have 5 slides with a spot the difference on each slide. The user has 10 attempts to find the difference. I have set up a variable to count the clicks.
Where I am struggling is, how do I reset the click/attempt variable so that that clicks don't carry over on to the following slide. At the moment if you take say 6 clicks on slide one, you are getting the incorrect layer on slide 2 after 4 clicks.
Thank you in advance!