getAnimation?

edited September 2013 in Support
there is a function 'setAnimation' but sometime before setting new animation would be nice to check what animation you already have eg.
if(getAnimation=='someAnimation')
setAnimation('one');
else setAnimation('two');

What do you think?

Comments

  • Accepted Answer
    I think it's a good idea. It's already been requested a few time and since it's very simple to implement I will include it in the next version.
Sign In or Register to comment.