Lingo Dictionary > A-C > clickLoc

 

clickLoc

Syntax

the clickLoc

Description

Function; identifies as a point the last place on the screen where the mouse was clicked.

Example

The following on mouseDown handler displays the last mouse click location:

on mouseDown
	put the clickLoc
end mouseDown

If the click were 50 pixels from the left end of the Stage and 100 pixels from the top of the Stage, the Message window would display the following:

-- point(50, 100)