pressed = IsRightMouse()
True
if the right mouse button is currently
pressed, otherwise False
.
Repeat Wait(2) Until IsRightMouse() = TrueThe above code waits until the right mouse button is pressed. (you can have that easier by using WaitRightMouse(); the one above is only useful if you want to do something while the mouse button is not pressed)