Do you mean on click event, or perhaps detecting when two objects overlap? More information or example .capx would be nice to have :)
Most probable approach would be to use 'is overlapping' condition and compare Z orders of the objects. But like I said, more information about your situation would help.