Difference between revisions of "API Mouse.GetButtons"
From Flowcode Help
Jump to navigationJump to search|  (XML import API changes) |  (XML Import to change Variable types into Variable Types) | ||
| Line 14: | Line 14: | ||
| ==Return value== | ==Return value== | ||
| − | [[Variable  | + | [[Variable Types|BYTE]] | 
| Returns the button state from the mouse: 4 for left, 1 for right | Returns the button state from the mouse: 4 for left, 1 for right | ||
Revision as of 11:09, 10 June 2013
<sidebar>API contents</sidebar> Gets the button state from the mouse: 4 for left, 1 for right
Contents
Parameters
This function has no parameters
Return value
Returns the button state from the mouse: 4 for left, 1 for right
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type BYTE
- Add to a calculation icon: result = ::Mouse.GetButtons() 
No additional information
