AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.ClearAnimationFrames Method

Removes all animation frames from a sprite returning it to a single image sprite.

Syntax
Pascal
procedure ClearAnimationFrames;

If you added images individually to the sprite using AddAnimationFrame then the sprite's image will be undefined and it is recommened that you assign it a new image.

Copyright (c) 2012. All rights reserved.