API IsMouseButtonDown

Returns whether a mouse button is being held down. isDown = IsMouseButtonDown([button])

Arguments

 * button : string ? - Name of the button. If not passed, then it returns if any mouse button is pressed.

Returns

 * isDown : boolean - Returns whether the given mouse button is held down.