MouseDown
From LoTROInterface Wiki
API Reference > Turbine.UI.Control.MouseDown()
Event fired when a mouse button is pressed.
Syntax
Lua | |
---|---|
function Control:MouseDown(sender, args); |
Parameters
sender
Type: table
The event sender; that is, the Control that received the event
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.