Lingo Dictionary > L-N > the mouseUp (system property) |  |

the mouseUp (system property)

Syntax

    the mouseUp

Description

System property; indicates whether the mouse button is released (`TRUE`) or is being pressed (`FALSE`).

The Director player for Java doesn't update the `mouseUp` property when Lingo is in a repeat loop.

Example

This handler causes the movie to run as long as the user presses the mouse button. The playback head stops when the user releases the mouse button.

    on exitFrame me
    	if the mouseUp then
    		go the frame
    	end if
    end

Example

This statement instructs Lingo to exit the repeat loop or handler it is in when the user releases the mouse button:

    if the mouseUp then exit

See also

`mouseH`, `mouseV`