Name
IsLeftMouse -- check if the left mouse button is pressed
Synopsis
pressed = IsLeftMouse()
Function
This function returns True if the left mouse button is currently pressed, otherwise False.

Inputs
none

Example
Repeat
  Wait(2)
Until IsLeftMouse() = True
The above code waits until the left mouse button is pressed. (you can have that easier by using WaitLeftMouse(); the one above is only useful if you want to do something while the mouse button is not pressed)

Show TOC