6,834
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = onMouseUp | ||
|side = client | |||
|type = event | |type = event | ||
| | |games = iii vc sa iv | ||
| | |desc = a mouse button is released | ||
| | |arg1 = int mouse The ID of the mouse. | ||
|arg2 = int button The ID of the mouse button that was released. | |||
| | |note = This event will be called once per complete "click". If you need to detect a button being held down for a length of time, use [[OnMouseDown|onMouseDown]].<br> | ||
| | |||
Mouse Buttons:<br>ID 0: Left button.<br>ID 1: Right button.<br>ID 2: Wheel button. | Mouse Buttons:<br>ID 0: Left button.<br>ID 1: Right button.<br>ID 2: Wheel button. | ||
|cancel = false | |||
}} | }} |
edits