mouse class : Left getter
Description
Gets a value that indicates whether the left button of the mouse is pressed.
Syntax
mouseInstance.Left
Arguments
None
Return value
Class | Description |
bool | Value that indicates whether the left button of the mouse is pressed. |
Sample code
1: | mouse m = new mouse(); |
2: | bool pressed = m.Left; |
Notes
If the left button has pressed, return value is true.
If the left button has not pressed, return value is false.