Lingo Dictionary > L-N > the mouseDown (system property) |
![]() ![]() ![]() |
the mouseDown (system property)
Syntax
the mouseDown
Description
System property; indicates whether the mouse button is currently being pressed (TRUE
) or not (FALSE
).
The Director player for Java doesn't update the mouseDown
property when Lingo is in a repeat loop. If you try to test mouseDown
inside a repeat loop in an applet, the applet hangs.
Example
This handler causes the movie to beep until the user clicks the mouse:
on enterFrame repeat while the mouseDown = FALSE beep end repeat end
Example
This statement instructs Lingo to exit the repeat loop or handler it is in when the user clicks the mouse:
if the mouseDown then exit
See also
mouseH
, the mouseUp (system property)
, mouseV
, on mouseDown (event handler)
, on mouseUp (event handler)
![]() ![]() ![]() |