function isMouseBtnPressed (client-side)
Available since version: 0.0.2
This function is used to check whether the specified mouse button is currently pressed.
Declaration
bool isMouseBtnPressed(int button)
Parameters
intbutton: . For more information see Mouse constants.
Returns bool
true when specified mouse button is pressed, otherwise false.