move()
Move a GUI object to a new position on the display.
display.move(item, x, y)
Parameters
display.move(item, x, y)
| Parameter | Type | Default | Description |
|---|---|---|---|
item |
Drawable |
required | The GUI object to move. |
x |
int or float |
required | The new horizontal position, in pixels. |
y |
int or float |
required | The new vertical position, in pixels. |