Difference between revisions of "Lua:setMousePos"
Jump to navigation
Jump to search
(→Related Functions) |
m (Added CodeBox Template.) |
||
| Line 1: | Line 1: | ||
[[Category:Lua]] | [[Category:Lua]] | ||
| − | '''function''' setMousePos(''x'', ''y'') | + | {{CodeBox|'''function''' setMousePos(''x'', ''y'')}} |
Sets the mouse cursor to the specified coordinates. | Sets the mouse cursor to the specified coordinates. | ||
===Function Parameters=== | ===Function Parameters=== | ||
| − | {|width="85 | + | {|width="85%" cellpadding="5%" cellspacing="0" border="0" |
!align="left"|Parameter | !align="left"|Parameter | ||
!align="left"|Type | !align="left"|Type | ||
| Line 18: | Line 18: | ||
|The y coordinate to set the mouse cursor to | |The y coordinate to set the mouse cursor to | ||
|} | |} | ||
| − | |||
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
| − | |||
| − | |||
| − | |||
Revision as of 23:50, 4 December 2025
| <> Function function setMousePos(x, y) |
Sets the mouse cursor to the specified coordinates.
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| x | Integer | The x coordinate to set the mouse cursor to |
| y | Integer | The y coordinate to set the mouse cursor to |
See also
| Lua |
| Script Engine |