MouseEvent.x

the widget-relative, x coordinate of the pointer at the time the mouse button was pressed or released

class MouseEvent
int x;

Meta