move()
Move the object to a new position.
checkbox.move(x, y)
Same as setPosition().
Parameters
checkbox.move(x, y)
| Parameter | Type | Default | Description |
|---|---|---|---|
x |
int or float |
required | The new horizontal position, in pixels. |
y |
int or float |
required | The new vertical position, in pixels. |