setX()
Set the object's horizontal position.
rotary.setX(x)
Parameters
rotary.setX(x)
| Parameter | Type | Default | Description |
|---|---|---|---|
x |
int or float |
required | The new horizontal position, in pixels. |
Set the object's horizontal position.
rotary.setX(x)
rotary.setX(x)
| Parameter | Type | Default | Description |
|---|---|---|---|
x |
int or float |
required | The new horizontal position, in pixels. |