State =  mouse .button .get  (  )  
                           
Description :

This instruction returns the current state of the mouse buttons.

Return Value :

  • RELEASE_BUTTON
    PRESS_LEFT_BUTTON
    PRESS_RIGHT_BUTTON
    RELEASE_LEFT_BUTTON
    RELEASE_RIGHT_BUTTON
    DOUBLE_CLICK_LEFT_BUTTON
    DOUBLE_CLICK_RIGHT_BUTTON

Examples :