angryscientist
I won't be able to add that since i'm not working on this anymore.
delgado
I don't use parallax, but it is something you can do via events. Basically just move the object from one layer to the other, paste, and then move it back. Something like this:
global number oldLayer=0
global number oldX=0
global number oldY=0
global number x=0
global number y=0
set oldX to sprite.x
set oldY to sprite.y
set oldLayer to sprite.layer
set x to LayerToCanvasX(sprite.layer, sprite.x, sprite.y)
set y to LayerToCanvasY(sprite.layer, sprite.x, sprite.y)
Sprite: move to layer canvas.layer
Sprite: set position to CanvasToLayerX(canvas.layer, x, y), CanvasToLayerY(canvas.layer, x, y)
canvas: paste sprite
Sprite: move to layer oldLayer
Sprite: set position to oldX, oldY