Structure mouseEvent
¶
Declaration¶
local mouseEvent = {
event = string,
x = number?,
y = number?,
button = string?
}
Fields¶
Field | Type | Description |
---|---|---|
event | string | The event that happened (clicked, held, etc) |
x | number? | The X location of the mouse |
y | number? | The Y location of the mouse |
button | string? | The button that was pressed |