Category:Sprites
Removes a sprite or group of sprites. Removed sprites will not be drawn or updated anymore.
Examples
Remove a sprite by clicking it.
Syntax
destroy
Parameters
Name | Type | Required? | Description |
---|---|---|---|
sprite | The sprite or group of sprites being removed |
Found a bug in the documentation? Let us know at support@code.org.