MouseClick
From LoTROInterface Wiki
API Reference > Turbine.UI.Control.MouseClick()
Event fired when a mouse button is clicked.
Syntax
Lua | |
---|---|
function Control:MouseClick(sender, args); |
Parameters
sender
Type: table
The event sender.
args
Type: table
The event arguments
- args.X, args.Y: Integers. Contain the coordinates of the mouse event relative to the upper-left corner of
sender
. - args.Button: Integer. Indicates which mouse button was clicked.