gui.SetMousePos

From Garry's Mod
Jump to: navigation, search
 gui.SetMousePos( )

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

Use input.SetCursorPos instead.

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

Arguments

number mouseX

The X coordinate to move the cursor to.

Arguments

number mouseY

The Y coordinate to move the cursor to.
Personal tools
Navigation