ISInterface:GetMousePos

From Lavish Software Wiki
Revision as of 23:04, 2 September 2005 by Beefalo (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Syntax

  • bool GetMousePos(int &X, int &Y)

Purpose

To obtain the current mouse position

Usage

Parameters

  • int &X
[out] Variable to put the X coordinate in
  • int &Y
[out] Variable to put the Y coordinate in

Return Value

  • bool
Returns true on success, false on failure

Examples

int mousex, mousey;
pISInterface->GetMousePos(mousex,mousey);

See Also