MouseEvent.isLeftButton

bool isLeftButton() const @safe nothrow @nogc

Checks if the left mouse button is pressed.

Returns

true if left button is pressed