ClearSpriteAnimationFrames

Description

Removes all animation frames from a sprite returning it to a single image sprite. If you added images individually to the sprite using AddSpriteAnimationFrame then the sprite's image will be undefined and it is recommended that you assign it a new image.

Definition

ClearSpriteAnimationFrames( iSpriteIndex )

Parameters