Type Function
Library display.*
Return value none
Revision 2018.3276
Keywords removing, deleting, objects
See also object:removeSelf()


Removes an object or group if not nil.

This is the same as calling object:removeSelf(), but will first check if the object exists before attempting to remove.


display.remove( object )
object (required)

DisplayObject. The variable referencing the display object (vector, image, or group) to be removed.