menuExit⚓︎
The menuExit event fires when the player leaves menu mode.
--- @param e menuExitEventData
local function menuExitCallback(e)
end
event.register(tes3.event.menuExit, menuExitCallback)
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⚓︎
menuMode
(boolean): Read-only. Always false for this event, indicating that menu mode is off. This parameter is only useful when registering the same callback for menuEnter and menuExit events.