ESODecoded

EVENT_ACTION_LAYER_POPPED

ESO Lua API function — used by 91 of the 3,030 addons we indexed (combined 23,676,733 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

EVENT_ACTION_LAYER_POPPED(luaindex layerIndex, luaindex activeLayerIndex)

Real usage — from Bandits User Interface

		BUI_Menu_Move_Anchor:SetHidden(true) BUI_Menu_Move_B1:SetHidden(true) BUI_Menu_Move_B2:SetHidden(true) BUI_Menu_Move_B3:SetHidden(true) BUI_Menu_Move_B4:SetHidden(true)
		EVENT_MANAGER:UnregisterForEvent("BUI_Event", EVENT_ACTION_LAYER_PO

Short excerpt from the shipping addon Bandits User Interfaceits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Bandits User Interface6,130,317
AUI - Advanced UI5,406,091
Votan's Fisherman1,662,523
LibSFUtils1,648,729
Foundry Tactical Combat (FTC)1,097,601
FCO ItemSaver (Mark, filter and save your items against decon/sell/etc.)1,031,056