Lua:setMousePos

From Cheat Engine
Jump to navigation Jump to search
<> 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