Yeah basicly check through the list of entities wich are to be considered for interaction with the button and then check who among those entities are within a given radius of the button and then only can you simply trace for contact .. Well that's one way