Lua:getMousePos
Jump to navigation
Jump to search
<> Lua API Reference
function getMousePos()
Returns 2 parameters: the x-position and y-position of the mouse on the screen.
<none>
1 x, y = getMousePos()
Main Pages
Core Lua documentation entry points
◆ Lua
◆ Script Engine
Mouse Related Functions
Keyboard Related Functions
◆ isKeyPressed
◆ keyDown
◆ keyUp
◆ doKeyPress
Global Hotkey Related Functions