Mouse.isButtonPressed

Check if a mouse button is pressed.

class Mouse
static
bool
isButtonPressed

Parameters

button Button

Button to check

Return Value

Type: bool

true if the button is pressed, false otherwise.

Meta