I’m adding a value to a number text field every 1.0 second. The value can range from 3 to 20, and I don’t want the number to exceed 100.
For example, if the number is 95 and it increases by 3 per second, it could end up at 101.
I want an event that checks if the number will go over 100 with the next increase, and if so, it should set the number to 100 instead.