function onActionLeftMouse() {//Do Stuff.}
function onMousedown(var) { if(var == "left"){ if (mousex in |this.x+.5,this.x+2.5| && mousey in |this.y,this.y+3|) { //Do Stuff. } }}