It is possible to control the position of a sprite on Z axis

I'm building a game where an animal moves through a wood.
The forest is made up of various elements separated from each other.
I can't control the position of the various elements in depth, to manage the overlapping of the various elements.
Do you have a way to control the z-axis position of sprites?

the layer blocks will control deph, but its not true z-axis

untitled script pic - 2023-03-19T181610.168

These blocks need JS but do all the work you looking for...

Here's a project

I suggest you to init in 1st block of the stage
After, you can assign an objet to a specific layer (1 is foreground)

Here's another project