getY()
Return the object's vertical position.
If the object is a Display, this returns the display's vertical position on the screen.
Parameters
Once an object item has been created, you can use the following function:
item.getY()
Returns
return y
| Value | Type | Description |
|---|---|---|
| y | int or float |
The vertical position of the top-left corner, in pixels. |