Method mouse.waitForNoButtonsPressed
Overload
Waits while some mouse buttons are pressed. See mouse.isPressed.
public static bool waitForNoButtonsPressed(Seconds timeout = default, MButtons buttons = MButtons.Left | MButtons.Right | MButtons.Middle | MButtons.X1 | MButtons.X2)
Parameters
timeout (Seconds)
Timeout, seconds. Can be 0 (infinite), >0 (exception) or <0 (no exception). More info: Wait timeout. Default 0. |
buttons (MButtons)
Wait only for these buttons. Default - all. |
Returns
bool
Returns |
Exceptions
TimeoutException
timeout time has expired (if > 0). |