Skip to content
Tristan Hume edited this page Apr 23, 2012 · 2 revisions

#Sprite.Free

##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.html.

Clone this wiki locally