SetCursorPos
From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 17:12, 22 November 2013 by Vis apiuser (talk)
setCursorPos
Available since: v3.3
Sets the absolute cursor position.
Lua Syntax:
setCursorPos(pos)
Arguments
pos
- {x=int,y=int} - The position where the cursor will be set to.
Flags
Return Values
None.
Examples
Example 1:
setCursorPos({x=240,y=480})
Example 2:
local cPos = {x=240,y=480}
setCursorPos(cPos)