input.IsMouseDown

From GMod Wiki

Jump to: navigation, search
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
Available On:
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Input.IsMouseDown]Input.IsMouseDown [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionFor the time being, none.
Used onImage:NewerMissing.png
Code
This page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputNone.


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.

See Also

Personal tools