Just a side suggestion... code looks good by the way...
bram is right, if mousehit() is in the main body of the program it will check whenever the button is pressed... If you assigned a GLOBAL VARIABLE to that even you could always hit the function to CHECK that variable against last firework made...
a suggestion, not being critical.
You have mastered {code} {/code} (where you used [ instead of { )
If you used {codebox} {/codebox} it would simplify and shrink this forum load a mite
:)
bram is right, if mousehit() is in the main body of the program it will check whenever the button is pressed... If you assigned a GLOBAL VARIABLE to that even you could always hit the function to CHECK that variable against last firework made...
a suggestion, not being critical.
You have mastered {code} {/code} (where you used [ instead of { )
If you used {codebox} {/codebox} it would simplify and shrink this forum load a mite
:)