Function GetSpriteAnimation(sprite)
Returns the current animation set on a sprite
Related:
SetSpriteAnimation