EventLib REALbasic Plugin

GetMouse Method

Obtains the current position of the mouse.

GetMouse() as Point

Parameters

Returns

Point
The mouse location as point.

Remarks

Example:

Dim myPoint as Point
Dim x,y as integer

myPoint = GetMouse()
x=myPoint.x
y=myPoint.y

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    See Also

    GlobalMethods Global