There is Sprite.AnimName, but is there any private variable that gives the Sprite's current Animation Number? Note that I'm not talking about Frame Numbers here.
Develop games in your browser. Powerful, performant & highly capable.
No there isn't a expression for that. You can name your animations "1","2","3",... if you want to access them by number.