DarkBASIC Professional Help File

DX11 IS MOUSE BUTTON RELEASED

Returns whether the given mouse button was just now released.
Button 0 is the left mouse button, 1 is the right and 2 and 3 are any extra available buttons
present on the mouse (2 usually corresponds to pressing the middle wheel).

Syntax

    Return Boolean = DX11 IS MOUSE BUTTON RELEASED(mouseButton)

Parameters

    mouseButton

> Integer
> The mouse button to check the state of (valid range 0 .. 3).

Returns

The state of the mouse button; true if it was just released or false if it is either held down or it is not, but have not yet been pressed since the last call to this function.

See also

INPUT Functions Menu
DX11 Function Categories