Skip to main content

TheMouseLocation

Type​

expression

Summary​

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

Syntax​

the ( current ) mouse position

Description​

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

Examples​

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

Value​

NameTypeDescription

return

The location of the mouse pointer.

Thank you for your feedback!

Was this page helpful?