Layer.cursorX

Function/Meaning
Mouse cursor x position
Type
Layer class property (read/write)
Description
Represents the x-coordinate of the mouse cursor on the layer, in pixels relative to the display coordinates. This value can also be set.
When setting the value, the mouse cursor does not move just by setting the cursorX property. The mouse cursor moves when the cursorY property is subsequently set.
Reference
Layer.setCursorPos