Lua:getMousePos
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>
function getMousePos()
Returns 2 parameters. The x-pos and the y-pos of the mouse on the screen.
Example:
x,y = getMousePos()
<none>
Main Pages
Core Lua documentation entry points
◆ Lua
◆ Script Engine