uiEvent⚓︎
uiEvent is triggered through various UI events. This includes scrolling through panes, clicking buttons, selecting icons, or a host of other UI-related activities.
--- @param e uiEventEventData
local function uiEventCallback(e)
end
event.register(tes3.event.uiEvent, uiEventCallback)
Tip
This event can be filtered based on the source.id 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⚓︎
block(tes3uiElement): Read-only. Deprecated, please usesourceinstead. The UI element that is firing this event.parent(tes3uiElement): Read-only. The calling element's parent.property(tes3.uiProperty): Read-only. The property identifier that is being triggered.source(tes3uiElement): Read-only. The UI element that is firing this event.var1(number): Read-only. One of two undefined variables related to the event.var2(number): Read-only. One of two undefined variables related to the event.