1
Graphics / Disable click through overlapping shapes?
« on: April 20, 2019, 05:42:31 pm »
I am really close to building my project but I am encountering one simple problem. I have a rectangle on which I have use the GetGlobalBounds to check if mouse clicks on it. Now I am drawing over another Rectangle over that rectangle and using GetGlobalBounds on the overlapping Rectangle. Now when i click on the overlapping one, the command for the original Rectangle is executed instead of the one that is overlapping. How can I prevent this?