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

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

Related Functions

getMousePos
setMousePos
isKeyPressed
keyDown
keyUp
doKeyPress
mouse_event
setGlobalKeyPollInterval
setGlobalDelayBetweenHotkeyActivation