remove()
Remove an object from the display. The object keeps its current on-screen place as it leaves.
Parameters
Once an object display has been created, you can use the following function:
display.remove(item)
| Parameter | Type | Default | Description |
|---|---|---|---|
item |
Drawable |
required | The object to remove. |