InputSingleton.isMouseButtonPressed

Returns true if you are pressing the mouse button. You can pass BUTTON_*, which are pre-defined constants listed in @GlobalScope.

struct InputSingleton
@nogc nothrow const
bool
isMouseButtonPressed
(
in long button
)

Meta