mouseDown method
- MouseButton button
Checks if the specified mouse button
is currently held down.
Returns true
if the button is down, false
otherwise.
Implementation
bool mouseDown(MouseButton button) {
return _mouseDown[button.index];
}
Checks if the specified mouse button
is currently held down.
Returns true
if the button is down, false
otherwise.
bool mouseDown(MouseButton button) {
return _mouseDown[button.index];
}