mousePressed() function

no,i mean 1. it is like an on and off switch