Sign in Join
FPDoc Onlineexperiment

GetMouseY function

In unit Mouse

Query the current vertical position of the mouse cursor.

Declaration

pascal
function GetMouseY: Word

Description

GetMouseY returns the current Y position of the mouse. Y is measured in characters, starting at 0 for the top of the screen.

For an example, see GetMouseX

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.