| [Overview][Constants][Types][Procedures and functions][Variables][Index] | 
Get next mouse event from the queue.
Source position: mouseh.inc line 92
| procedure GetMouseEvent( | 
| var MouseEvent: TMouseEvent | 
| ); | 
GetMouseEvent returns the next mouse event (a movement, button press or button release), and waits for one if none is available in the queue.
Some mouse drivers can implement a mouse event queue which can hold multiple events till they are fetched. Others don't, and in that case, a one-event queue is implemented for use with PollMouseEvent.
None.
| 
 | Get the state of the mouse buttons | |
| 
 | Query the current horizontal position of the mouse cursor. | |
| 
 | Query the current vertical position of the mouse cursor. |