Basically what it does is waits for something to happen, then when it detects what you're looking for, it will call a function. In this case you'll be interested in the MouseEvent package.
dank doesnt tha e: right next to mouseevent mean event, if ur teachin him sumthin that simple maybe you shouldnt abrevate something, even tho it is proper saytnex