So far you have used some basic mouse events to trigger your code to run.  There are many more events and more to know about each event.