Skip to content

add()

Add an object to the group.

group.add(item)

The object keeps its current on-screen place as it joins. If it is already in another group or on a display, it is removed from there first.

Parameters

group.add(item)
Parameter Type Default Description
item Drawable required The object to add.