Layer.setCursorPos

Function/Meaning

Specifying the mouse cursor position

Type
Layerclassmethod of
Syntax
setCursorPos(x, y)
Arguments
x

Specifies the x-coordinate value (in the display coordinates of this layer) for the mouse cursor, in pixels.
This value can also be set / retrieved with the Layer.cursorX property.

y

Specifies the y coordinate value of the mouse cursor (in the display coordinates of this layer) in pixels.
This value can also be set / retrieved with the Layer.cursorX property.

Return value
None (void)
Explanation

Specifies the position of the mouse cursor.