Difference between revisions of "Lua:setMousePos"

From Cheat Engine
Jump to navigation Jump to search
m (Added CodeBox Template.)
m (...)
 
Line 20: Line 20:
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
 +
 +
{{KeyboardMouse}}

Latest revision as of 23:54, 4 December 2025

<> Function

function setMousePos(x, y)

Sets the mouse cursor to the specified coordinates.

Function Parameters[edit]

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[edit]

Lua
Script Engine

Related Functions[edit]

getMousePos
setMousePos
isKeyPressed
keyDown
keyUp
doKeyPress
mouse_event
setGlobalKeyPollInterval
setGlobalDelayBetweenHotkeyActivation