only act on mouse clicks