mouse_check_button - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC

Notation

Description

Gets whether a mouse button is currently being pressed. Uses the mouse constants (eg. mb_left) for the left mouse button.

Parameters

  • button mouse constant of the button to check

Return Values

Returns boolean (true or false) whether the mouse button is currently being pressed.

Example Call

Example of using the function.
⚠️ **GitHub.com Fallback** ⚠️