input.IsMouseDown
From GMod Wiki
Function | |
Syntax |
input.IsMouseDown( MouseCode mc ) Where is this used? |
Description: | |
Returns a bool if the mouse button is down. | |
Returns: | Boolean |
Part of Library: | input |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Input.IsMouseDown]Input.IsMouseDown [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Uses the MOUSE_* enumerations.
- MOUSE_WHEEL_DOWN and MOUSE_WHEEL_UP with input.IsMouseDown work again since the Garry's Mod update #70. They broke in update #54.