With a mouse, I can do Mouse.X("LayerName")
However, I can't do this with any other object.
Say I want a special effect to occur at the position of a sprite on a 3D layer. At the moment, my camera zooms in on an object, almost centralising it to the screen. The effect is then generated, but it's created at the position of the object... based on its position on the canvas.
So if the object is 100 pixels from the edge of the screen, the camera will zoom in on it, then the effect spawns on the 2D layer, but appears 100 pixels from the edge of the screen, rather than on the object.