mouse_check_button_released(button)

From ENIGMA
Jump to navigation Jump to search

Description

Gets whether a mouse button has been released this step.

Parameters

Parameter Data Type Description
button integer mouse constant of the button to check

Return Values

boolean: Returns whether the mouse button has been released this step.

Example Call

// demonstrates checking if the left mouse button was released
if (mouse_check_button_released(mb_left)) {
  // left mouse button was released
} else {
  // left mouse button was not released
}