Difference between revisions of "Lua:getMousePos"
Jump to navigation
Jump to search
| Line 9: | Line 9: | ||
| − | + | {{LuaFunctionParametersNone}} | |
| − | |||
| − | == | + | {{LuaSeeAlso}} |
| + | |||
| + | === Related Functions === | ||
* [[setMousePos]] | * [[setMousePos]] | ||
| − | |||
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>