Difference between revisions of "Lua:getMousePos"
Jump to navigation
Jump to search
(Created page with ''''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> == …') |
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Lua]] | ||
'''function''' getMousePos() | '''function''' getMousePos() | ||
Line 8: | 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>