Difference between revisions of "Lua:getMousePos"
Jump to navigation
Jump to search
m (moved getMousePos to Lua:getMousePos) |
(→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>