isMouseButtonPressed

Checks if the specified mouse button is currently pressed.

Return

True if the mouse button is pressed, false otherwise.

Parameters

button

The GLFW code of the mouse button.