I have this mouse event when I click on an object it toggles a certain variable to true..
The situation is when two of these objects are overlapping and the cursor is overlapping both objects, and I click, it toggles both of their variables..
How do I toggle the value of the one object overlapping the other or one with a higher Y value?