Hello Guest

Author Topic: Get list of clips names in my tk2dAnimatedSprite  (Read 3683 times)

tzamora

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 10
    • View Profile
Get list of clips names in my tk2dAnimatedSprite
« on: March 29, 2013, 05:36:55 pm »
Is there a way to get the list of the clip names of my tk2dAnimatedSprite maybe accessing its tk2dSpriteAnimation.

Thanks :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Get list of clips names in my tk2dAnimatedSprite
« Reply #1 on: March 29, 2013, 10:17:48 pm »
you can iterate through
tk2dAnimatedSprite.anim.clips
and get the names from there.