getOrder()
Return the layer a GUI object sits on.
display.getOrder(item)
Parameters
display.getOrder(item)
| Parameter | Type | Default | Description |
|---|---|---|---|
item |
Drawable |
required | The GUI 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 on the display. |