Is there a way to tell if a variable increases
-
If it increases then run a function once until it increases again?
-
If I've understood correctly, you could do something like
// before the main loop a = 1 aPrev = a // inside main loop if a > aPrev then function() aPrev = a endif
-
@kat Awesome thanks so much I'll give it a try