Difference between revisions of "Lua:getMousePos"

From Cheat Engine
Jump to navigation Jump to search
Line 9: Line 9:
  
  
===Function Parameters===
+
{{LuaFunctionParametersNone}}
<none>
 
  
== See also ==
+
{{LuaSeeAlso}}
 +
 
 +
=== Related Functions ===
 
* [[setMousePos]]
 
* [[setMousePos]]
* [[Lua]]
 

Revision as of 21:39, 19 March 2017

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