ESODecoded

GetCurrentQuickslot

ESO Lua API function — used by 42 of the 3,030 addons we indexed (combined 15,250,587 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetCurrentQuickslot()

Returns: luaindex actionSlotIndex

Real usage — from Action Duration Reminder

  if l.getSavedVars().barShowInQuickslot then
    local remain,duration, global = GetSlotCooldownInfo(GetCurrentQuickslot(),HOTBAR_CATEGORY_QUICKSLOT_WHEEL)
    if remain>0 and not global then

Short excerpt from the shipping addon Action Duration Reminderits 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
Action Duration Reminder6,522,011
LibCombat5,017,654
Foundry Tactical Combat (FTC)1,097,601
Greymind Quick Slot Bar710,122
PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch]487,232
Caro's Skill Point Saver (Respec Skill Lines, Champion Points, Gear, Quickslots, Appearances)364,055