SpriteFactory.Sprite.defaultAnimation
Property: Read/Write
C#: string defaultAnimation
JS: defaultAnimation : String
Description
The name of the default animation. Returns null if no default animation.
You can change the default animation by name by setting this property. If the old default animation in currently playing when this property is changed, you will need to call PlayDefaultAnimation in order to begin playing the new default animation.
See Also
defaultAnimationIndex