changed the mouse getTimesPressed to getTimesClicked