Skip to content

function isMouseBtnPressed (client-side)

Available since version: 0.3.0

Returns whether a mouse button is currently pressed.

Declaration

bool isMouseBtnPressed(int button)

Parameters

  • int button: Mouse button identifier.

Returns bool

True if the button is pressed.