SCA_PythonMouse(PyObjectPlus)

base class — PyObjectPlus

class bge.types.SCA_PythonMouse(PyObjectPlus)

The current mouse.

events

a dictionary containing the status of each mouse event. (read-only).

Type:dictionary {keycode:status, ...}
active_events

a dictionary containing the status of only the active mouse events. (read-only).

Type:dictionary {keycode:status, ...}
position

The normalized x and y position of the mouse cursor.

Type:tuple (x, y)
visible

The visibility of the mouse cursor.

Type:boolean