layer.draggable.layerCursorOffset < object>
Get the x and y position of the cursor, relative to the draggable layer. If you click in the top left-corner, it returns { x: 0, y: 0 }. (Read-only)
译:得到相对于画布光标的x和y位置。 (只读)
layerA = new Layer
layerA.draggable.enabled = true
# Get the cursor position within the layer
layerA.on Events.DragStart, ->
print layerA.draggable.layerCursorOffset