TheClickLocation

Typeexpression
DictionaryLCB
LibraryLiveCode Builder
Syntax
the ( current ) click position
Associationscom.livecode.widget
Summary

Determines the location of a mouse click.

Example
variable tClick as Point
put the click position into tClick

variable tRect as Rectangle
put my bounds into tRect

if tClick is within tRect then
	// click was within widget bounds
end if
Values
NameTypeDescription
return

The location of the mouse pointer when it was clicked.

Description

Use the mouse location to obtain the location of the mouse pointer when it was last clicked. Use the 'current' form to obtain the asynchronous click position.

Tagswidget