Mhh.....sounds like a good idea, but what if two objects overlap and the point is in two rectangles at the same time?
Mhhhh, my brain just started, you can just create a new type which holds not only the coordinates, but also the Z-index, so you can compare both when you find a point in two objects at the same time...




, you can just create a new type which holds not only the coordinates, but also the Z-index, so you can compare both when you find a point in two objects at the same time...
Reply With Quote