The Get function retrieves the position of the mouse cursor in pixels.
The coordinates are relative to screen.
Syntax
Integer Mouse.Get(
Point point)
Point point)
Parameters
| point | The point receives the position. | Required |
|---|
Return value
The Get function returns true.
If an error occurs, the Get function returns false.
Example
Point pt new
myMouse.Get(pt)
MessageBox(pt.GetX()+", "+pt.GetY())
myMouse.Get(pt)
MessageBox(pt.GetX()+", "+pt.GetY())