Hi, How do I create a variable increasing by 1 continuously and being displayed on the widget until the character hits the finish line and resets to zero?
The easiest way to do this would be a timer.
We check if we’ve already made a timer- if we have, we reset and play it. If we haven’t, we create one and bind it to the increment event.
Increment timer time is how long it takes to increment. Ie 55 would increment the variable by one every 55 seconds.
2 Likes
Don’t display the increment timer, display the variable you’re incrementing.
In this case, you’ve named it “New Var”