<<

Contents

Search

>>

 

MOUSE_STATUS

 

 

Function

 

 

Syntax:

MOUSE_STATUS

 

Meaning:

Returns which mouse button is pressed.

 

MOUSE_STATUS returns the following values:

 

1: The left mouse button is pressed.

2: The right mouse button is pressed.

3: The middle mouse button is pressed.

0: Neither left nor right mouse button is pressed.

 

Sample:

WHILE MOUSE_STATUS = 1

DO …

ENDDO

 

See also:

MOUSE_CURSOR

GET_KEYSTATE