Skip to content

getOrder()

Return the layer an object sits on within the group.

Parameters

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

group.getOrder(item)
Parameter Type Default Description
item Drawable required The object to look up.

Returns

return order

Value Type Description
order int The object's layer, where 0 is closest to the front; None if the object is not in the group.