Mouse Sensor¶
See also
See the Python reference of this logic brick in SCA_MouseSensor.
The Mouse Sensor detects mouse events.
Mouse sensor.¶
Properties¶
See Sensor Common Options for common options.
The controller consist only of a list of types of mouse events.
A FALSE pulse is given when any of these conditions ends.
- Mouse over any
 Gives a
TRUEpulse if the mouse moves over any game object.- Mouse over
 Gives a
TRUEpulse if the mouse moves over the owner object.- Movement
 Any movement with the mouse causes a stream of
TRUEpulses.- Wheel Down
 Causes a stream of
TRUEpulses as the scroll wheel of the mouse moves down.- Wheel Up
 Causes a stream of
TRUEpulses as the scroll wheel of the mouse moves up.- Right button
 Gives a
TRUEpulse.- Middle button
 Gives a
TRUEpulse.- Left button
 Gives a
TRUEpulse.
Note
There is no logic brick for specific mouse movement and reactions (such as first person camera), these have to be coded in Python.