The mouse keyword¶
A basic input component for reading signals from a plugged in mouse.
mouse.mouse_x¶
This property tells you where the mouse cursor is on the X axis relative to the top left of the game window.
mouse.mouse_y¶
This property tells you where the mouse cursor is on the Y axis relative to the top left of the game window.