TheMouseLocation

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

Determines the location of the mouse pointer relative to the widget.

Example
variable tPosition as Point
put the mouse position into tPosition

variable tRect as Rectangle
put my bounds into tRect

if tPosition is within tRect then
	// mouse position is within the widget bounds
end if
Values
NameTypeDescription
return

The location of the mouse pointer.

Description

Use the 'current' form to obtain the asynchronous mouse position.

Tagswidget