Animation List
expressions:
- animationCount - return the number of animations the object has.
- animationName(int) - return the animation name at the given index.
- animationIndex(string) - return the index of the animation with the name.
I was a bit surprised that this sort of thing wasn't already implemented into the sprite plugin, but since it is pretty simple I created my own behavior to do it. I felt like sharing it in-case anyone needs this feature.