mouseButtonUp⚓︎
This event fires when a button on the mouse is released.
--- @param e mouseButtonUpEventData
local function mouseButtonUpCallback(e)
end
event.register(tes3.event.mouseButtonUp, mouseButtonUpCallback)
Tip
This event can be filtered based on the button
event data.
Tip
An event can be claimed by setting e.claim
to true
, or by returning false
from the callback. Claiming the event prevents any lower priority callbacks from being called.
Event Data⚓︎
button
(integer): Read-only. The button index that was released.isAltDown
(boolean): Read-only. True if alt is held.isControlDown
(boolean): Read-only. True if control is held.isShiftDown
(boolean): Read-only. True if either shift key is held.isSuperDown
(boolean): Read-only. True if super (Windows key) is held.