Overlapping pictures

Hey guys! So I don’t remember if there was ever a block that would be something about pictures and which ones will go on top of each other.

There is a block in the sprite section called
set (sprite) (x) to (0)
You have to click on the x and choose z depth!
The lower a sprites zdepth the further back!
So if you want sprite A to be over sprite B ste sprite A zdepth to (for example) 100
Hope this helps

1 Like

Are you talking about the z layer of sprites? All you have to do for that is drag out a "set “x” " block and change the x to z (in the dropdown). higher z levels bring it closer to the front of the screen (0 is default), and 0 is the tilemap layer. Anything below 0 will be behind the tilemap. Also, if sprites have the same layer, the sprite that was created last will be on top. I hope this helps!

1 Like

OH MY GAWDDD. i completely forgot about z depth

1 Like

Tile map z layer is -1, not 0.

1 Like