Skip to content

input.set_mouse_pos( x, y )

Description

Sets the mouse cursor position on screen.

Arguments

Argument Type Description
x number x screen coordinate
y number y screen coordinate

Example

input.set_mouse_pos( 960, 540 )