SetMouseLocation

From Onset Developer Wiki
Revision as of 10:27, 22 December 2019 by Guewen (talk | contribs) (Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Sets the cursor's position on the screen.}} {{FuncSyntax|SetMouseLocation(x, y)}} {{FuncParameters}} {{FuncParam|mouseX|The X...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetMouseLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Sets the cursor's position on the screen.

Syntax

SetMouseLocation(x, y)

Parameters

  • mouseX
    The X coordinate to move the cursor to.
  • mouseY
    The Y coordinate to move the cursor to.


Example

SetMouseLocation(50,50)