Checks whether a given mouse button is currently pressed. Mouse buttons are numbered from 1 to 3, where 1 is the leftmost button.
if mouseButtonPressed(1) then : endif;