SCA_PythonMouse(EXP_PyObjectPlus)
base class — EXP_PyObjectPlus
- class bge.types.SCA_PythonMouse
The current mouse.
- inputs
A dictionary containing the input of each mouse event. (read-only).
- Type:
dict[keycode,
SCA_InputEvent
]
- events
a dictionary containing the status of each mouse event. (read-only).
Deprecated since version 0.2.2: Use
inputs
.
- activeInputs
A dictionary containing the input of only the active mouse events. (read-only).
- Type:
dict[keycode,
SCA_InputEvent
]
- active_events
a dictionary containing the status of only the active mouse events. (read-only).
Deprecated since version 0.2.2: Use
activeInputs
.
- position
The normalized x and y position of the mouse cursor.
- Type:
tuple (x, y)
- visible
The visibility of the mouse cursor.
- Type:
boolean