Difference between revisions of "Lua:getMousePos"

From Cheat Engine
Jump to navigation Jump to search
(Related Functions)
Line 14: Line 14:
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[setMousePos]]
+
* [[Lua:setMousePos|setMousePos]]

Revision as of 00:50, 25 January 2018

function getMousePos()

Returns 2 parameters. The x-pos and the y-pos of the mouse on the screen.

Example:

 x,y = getMousePos()
 


Function Parameters

<none>

See also

Related Functions