# 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 recommened that you assign it a new image.

## Definition

ClearSpriteAnimationFrames( iSpriteIndex )

void agk::ClearSpriteAnimationFrames( UINT iSpriteIndex )

## Parameters

- iSpriteIndex - The ID of the sprite to clear.