You are very welcome - also a variable run down:
You generally want to keep each variable as secluded or remote as possible while still able to perform its goal 100% of the time.
Instance variables will be attached to your Sprite and they will go away if you ever destroy that sprite
Local variable works only inside of whatever part of code its created - if you're using an if statement to compare numbers and can set a local variable with the higher of the 2 and then that variable will vanish once you are out of the if
Global is accessible everywhere