Hi. It seems the current animation is not available as a value anywhere. So there is no way to get the current animation name without using extra instance vars, right?
Maybe this could be added?
Develop games in your browser. Powerful, performant & highly capable.
"AnimationName
A string containing the name of the currently playing animation."
Could you take it from SPRITE.AnimationName?
Yep, Sprite.AnimationName is the animation that is currently playing.
oops. I looked at the whole list 2 times but could not see it. Seems it was already too late when I tried to find it. Thanks.