Difference between revisions of "Lua:getMousePos"

From Cheat Engine
Jump to navigation Jump to search
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
 
(4 intermediate revisions by 2 users not shown)
Line 9: Line 9:
  
  
===Function Parameters===
+
{{LuaFunctionParametersNone}}
<none>
 
  
== See also ==
+
{{LuaSeeAlso}}
* [[setMousePos]]
+
 
* [[Lua]]
+
=== Related Functions ===
 +
* [[Lua:setMousePos|setMousePos]]

Latest revision as of 19:09, 18 March 2019

function getMousePos()

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

Example:

 x,y = getMousePos()
 


Function Parameters[edit]

<none>

See also[edit]

Related Functions[edit]