FreeSprite()

Syntax

FreeSprite(#Sprite)
Description
Removes the specified sprite from memory. It's not possible to the sprite anymore after calling this function.

Parameters

#Sprite The sprite to free. If #PB_All is specified, all the remaining sprites are freed.

Return value

None.

Remarks

All remaining sprites are automatically freed when the program ends.

Supported OS

All

<- DisplayTransparentSprite() - Sprite Index - GrabSprite() ->