ISInterface:GetMousePos
Jump to navigation
Jump to search
Syntax
- bool GetMousePos(int &X, int &Y)
Purpose
To obtain the current mouse position
Usage
Parameters
- int &X
- [out] Variable to put the X coordinate in
- int &Y
- [out] Variable to put the Y coordinate in
Return Value
- bool
- Returns true on success, false on failure
Examples
int mousex, mousey; pISInterface->GetMousePos(mousex,mousey);