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