pressed = IsLeftMouse()
True
if the left mouse button is currently
pressed, otherwise False
.
Repeat Wait(2) Until IsLeftMouse() = TrueThe 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)