Restarting a course without resetting variable counts

Jul 19, 2023

Help!

I've built a tool for an event to function as method to engage booth attendees. The tool is a spiny wheel. Users click "spin the wheel". After clicking the wheel, the wheel lands on a random number between 1 and 6. Then the users is prompted to the question correlated to the random number. After reviewing the question the user is then prompted to click a restart button that links back to the beginning of the tool. I've built this button in so I don't have to close and relaunch after each interaction with a new attendee. 

It occurred to me later that I should be tracking how many attendees I engage with so I created a variable named "ParticipantCount". The variable is increased by 1 unit each time "spin the wheel" is clicked. 

However, by users clicking the reset button it resets the variable count to the default value. 

How can I have a feature that resets the tool back to its beginning state without resetting the variable count?

1 Reply