We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I have a sketch that draws multiple images. I have an array of custom type, the type contains the parameters (image, x, y, width, height). I want to check for overlap between all images drawn (already done) but I want it to be so that if there is an overlap, draw the image last selected on top. How do I incorporate the output of the overlap checking function with the draw() function?