Is there a way to read out and compare the z-order of objects?
I would like to implement a drag & drop. Unfortunately, all objects at the mouse position react to the “touching mouse-pointer?” block. I only want to filter out the upper object.
My approach is to search for all objects at the mouse position with “sprites at mouse-position” and then only address the one with the highest z-order. But how do I get the z-order as a number? There doesn't seem to be an attribute for this.
It would be great if the my-block (my neighbors etc.) also had a “my z-order” attribute. Or can this be found somewhere else?