Garry's Mod Wiki

Garry's Mod Wiki

  gui.SetMousePos( number mouseX, number mouseY )

Description

We advise against using this. It may be changed or removed in a future update. Use input.SetCursorPos instead.

Sets the cursor's position on the screen, relative to the topleft corner of the window

Arguments

1 number mouseX
The X coordinate to move the cursor to.
2 number mouseY
The Y coordinate to move the cursor to.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...