Skip to content

remove()

Remove an object from the collection. The object keeps its current on-screen place as it leaves.

Parameters

Once an object collection has been created, you can use the following function:

collection.remove(item)
Parameter Type Default Description
item Drawable required The object to remove.