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> == …') |
|||
Line 1: | Line 1: | ||
+ | [[Category:Lua]] | ||
'''function''' getMousePos() | '''function''' getMousePos() | ||
Revision as of 13:21, 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>