ON the UI that I’m designing, I have a page and there could be multiple rectangles on the page like shown below: A page can be selected by clicking on its boundary. Similarly, a rectangle can be selected by clicking on its boundary. But if a rectangle is of same size as page, how will user select between page and rectangle since both will have the same boundary at that time.
Also currently I can drag objects to page or rectangle. How will this be done if both have same boundaries?