only front overlapping actors clickable??

I have multiple actors in the scene and they tend to overlap each other from time to time... Since all actors are clickable, I was wondering if it's possible to make only the front actor clickable when they overlap?? My current result shows that both actors that overlap each other will both register the click event... Hope there's a solution to this... Thanks