base class — SCA_ISensor
Mouse Sensor logic brick.
current [x, y] coordinates of the mouse, in frame coordinates (pixels).
Type: | [integer, interger] |
---|
sensor mode.
Type: | integer
|
---|
Get the mouse button status.
Parameters: | button (int) – The code that represents the key you want to get the state of, use one of these constants |
---|---|
Returns: | The state of the given key, can be one of these constants |
Return type: | int |