Sprite.Free | Part of Sprite module |
Syntax | Sprite.Free (spriteID : int)
|
Description | Destroys the sprite and frees up the memory the sprite used. It is an error to use the spriteID after the sprite has been freed.
|
Example | See Sprite.Animate for an example of Sprite.Free.
|
Status | Exported qualified. This means that you can only call the function by calling Sprite.Free, not by calling Free.
|
See also | Sprite.New.
|