<< Click to Display Table of Contents >>
Manual > Control Reference > Common to all controls > Common methods >
Gets the coordinates of the mouse relative to the object.
syntax
GetMousePos()
Return Value
Type:
array
Returns the mouse coordinates as an array. The 0th item in the array is x, and the 1st item is y.
Explanation
Gets the coordinates of the mouse position relative to the object.
Supported
×
Script Action
Can be used in server script Ver2 actions
○
Browser script
Can be used in browser scripts
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
GetParentObj
GetChildObj
GetChildObjCount
GetObjIndex
GetProperty
SetProperty
CopyProperty
GetSourceProperty
CallCommonEvent
CallMethod
HitTest
BringToFront
BringToBack
SetFocus
LostFocus
StartDrag
StartDragX
StartDragY
StopDrag
IsDrag
Intersect
GetMousePos