Difference between revisions of "Lua:getMousePos"
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: | ||
− | + | {{LuaFunctionParametersNone}} | |
− | |||
− | == | + | {{LuaSeeAlso}} |
− | * [[setMousePos | + | |
− | + | === 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>