removeSprite

Removes a previously added sprite by id. Use to detach a sprite and free related resources.

Parameters

id

The ID of the sprite.