How would I stop a numerical value going below zero, efficiently.
For example, each time an icon is clicked it deducts one, but I don’t want that value to go below zero.
I originally used a ‘Do every 0.1 seconds’ to check the value of a number and if it’s <0 then change it to zero.
What other ways can I achieve this? I must be missing something.