Clipevent with buttons prob

hi got this off a tutorial, and modified it. if you check the file the round button moves on click! it tracks _xmouse position

im trying to get it to track the mouse but only if one of the three buttons are pressed?