Lua:setMousePos

From Cheat Engine
Revision as of 23:54, 4 December 2025 by Leunsel (talk | contribs) (...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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