Skip to content

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

Returns bool

true when specified mouse button is pressed, otherwise false.