• Editor
  • what animation is playing?

Related Discussions
...

Is there a command to find out what animation is playing?

state:getCurrentAnimation or something? (I didn't find anything but could easily have missed it)

I want to have a scenario where if this animation is playing, then play that animation, etc.

thanks,
Dale

AnimationState#getAnimation() in spine-libgdx. You can also call getName on the animation and do a string comparison.

will that work in Corona?

No. You didn't say you were using Corona. 🙂 You can use "state.animation.name" in spine-corona.

thanks. that worked.