SetMouseLocation

From Onset Developer Wiki
Revision as of 10:47, 22 December 2019 by Guewen (talk | contribs)
(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. Only works within viewport aswell

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)