Z position blocks using size and custom blocks. So recently I've been thinking how to make a z position in Scratch. Then I remembered that Custom Blocks could do really cool things, so I tried this thing with blocks and variables, and It worked! :D Just press "See inside" and backpack the first sprite.
Thanks to @coder_1433 for back drop blocks. Credit me if you use.