try this:
set xpos to
CanvasToLayerX("L0",LayerToCanvasX("L1", Self.X, Self.Y) ,LayerToCanvasY("L1",Self.X,Self.Y))[/code:1pf7z957]
set [b]ypos[/b] to
[code:1pf7z957]CanvasToLayerY("L0",LayerToCanvasX("L1", Self.X, Self.Y) ,LayerToCanvasY("L1", Self.X, Self.Y))[/code:1pf7z957]
[url=https://www.scirra.com/tutorials/1167/layertocanvascanvastolayer-example]LayerToCanvas/CanvasToLayer example[/url]
Yep, that worked. Thanks!