input.SetCursorPos

From GMod Wiki

Jump to: navigation, search
Function
Syntax input.SetCursorPos( Number x, Number y )
Where is this used?
Description:
Sets the mouse pointers position on the screen.
Returns: nil
Part of Library: input
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Input.SetCursorPos]Input.SetCursorPos [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets the cursor to the top left of the screen.
Used onNewerClient.png
Code
 
input.SetCursorPos(0,0)
Outputnone


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox