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)
 
Line 1: Line 1:
<span style="font-size:25px;color:red">Sorry! Content not available.</span>
+
[[Category:Lua]]
 +
'''function''' getMousePos()
 +
 
 +
Returns 2 parameters. The x-pos and the y-pos of the mouse on the screen.
 +
 
 +
Example:
 +
  x,y = getMousePos()
 +
 
 +
 
 +
 
 +
{{LuaFunctionParametersNone}}
 +
 
 +
{{LuaSeeAlso}}
 +
 
 +
=== 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]