Is there a way to check if an integer is going higher or lower in AS3
- by adamzwakk
I'm trying to make a script that listens to a variable (int or Number) and then does certain functions whether the variable is going higher or lower. So for example if the number gets higher, it runs one function. If it gets lower, it runs another.
Is this possible in AS3? Any ideas?