getCenterX()
Return the object's horizontal center.
xypad.getCenterX()
Returns
return x
| Value | Type | Description |
|---|---|---|
| x | int or float |
The horizontal center, in pixels. |
Return the object's horizontal center.
xypad.getCenterX()
return x
| Value | Type | Description |
|---|---|---|
| x | int or float |
The horizontal center, in pixels. |