it didnt work. in my first clicked it always do the (mclicked>=3) condition, maybe because,once you clicked the left mouse button the condition is always true thats why mclicked continue in incrementing.