OnMouseUp: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 13:58, 7 October 2019

Event Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Client 1.0.0

function(Event event, int mouse, int button)

The onMouseUp event is invoked when a mouse button is released.

Parameters

1) Event event The event object for this event.
2) int mouse The ID of the mouse.
3) int button The ID of the mouse button that was released.

Attributes

const This event cannot be cancelled.

Notes

  • 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.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseConnected
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseDisconnected
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseDown
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseLeave
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseMove
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseUp
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseWheel