OK I see the problem…maybe you would have an idea how to accomplish the following:
What I’m trying to do, is kind of a 2.5D game.
All set up it currently looks like this:
Here everything’s fine with the z-order.
But when you move the boxes around, the ones on the bottom would need to be on top of the ones with lower y-values, otherwise it looks like this: