mouseLocation([x], [y], [screen])
Class: SwingUI.
Description:
Gets or sets a position of a pointing device. If "screen" is specified,
the {x,y} position will be relative to the specified screen, otherwise
the position will be set relative to screen at index 0 (default screen).
You can get a list of screens with ui.screens getter.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
Use only to set pointer location |
|
|
number |
required if x is specified |
|
|
number |
Returns:
When setting arguments, this instance of SwingUI is returned, otherwise current value is returned.
Type: Object | SwingUI
