setY()
Set the object's vertical position.
If the object is a Display, this sets the display's vertical position on the screen.
Parameters
Once an object item has been created, you can use the following function:
item.setY(y)
| Parameter | Type | Default | Description |
|---|---|---|---|
y |
int or float |
required | The new vertical position, in pixels. |