input.SetCursorPos
From GMod Wiki
| 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: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Input.SetCursorPos]Input.SetCursorPos [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sets the cursor to the top left of the screen. |
|---|---|
| Used on | |
| Code | input.SetCursorPos(0,0) |
| Output | none |