Depends how you make it. You could make a rectangle for each button, then whenever the mouse is pressed you could send the mouse pointer location to all your buttons. In your button you should check...