Now, is there anyway of adding mousePressed() event to each rectangle object so I can later walk the elements after a mousepress event and guess which one was pressed?
Now, is there anyway of adding mousePressed() event to each rectangle object so I can later walk the elements after a mousepress event and guess which one was pressed?