SCA_PythonMouse(EXP_PyObjectPlus)

base class — EXP_PyObjectPlus

class SCA_PythonMouse(EXP_PyObjectPlus)

The current mouse.

inputs

A dictionary containing the input of each mouse event. (read-only).

Type

dictionary {keycode:SCA_InputEvent, …}

events

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

Deprecated since version use: inputs

Type

dictionary {keycode:status, …}

activeInputs

A dictionary containing the input of only the active mouse events. (read-only).

Type

dictionary {keycode:SCA_InputEvent, …}

active_events

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

Deprecated since version use: activeInputs

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