Garry's Mod Wiki

gui.SetMousePos

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.

Page Links


Special Pages


Wikis

?

Render Time: 54ms

DB GetPage 22
Generate Html 3
SaveChanges (1) 14
Render Body 0
Render Sidebar 13