Button
Button See if the mouse button is up or down
#include <Events.h> Event Manager
returns Is mouse button down?
Button returns the state of the mouse button, whether it is up or down.
Returns: a Boolean value identifying the state of the button. It is one of:
FALSE button is up
TRUE button is down

Notes: In most cases, you process mouse button actions by reading mouseDown and
mouseUp events via WaitNextEvent .This function gives you the ability
to write, for example:
printf("Press the mouse button to end");
while ( !Button() ) ;
During a drag operation, a more valid test is StillDown, which
determines if the mouse has been continuously pressed since the most
recent mouseDown event.
Note: This does not read or affect the event queue; it simply detects
the state of the mouse button.