ESODecoded

GetActiveHotbarCategory

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

Official signature

GetActiveHotbarCategory()

Returns: hotbarCategory

Real usage — from Action Duration Reminder

  local showedActionMap = {} --#map<#number,Models#Action>
  local hotbarCategory = GetActiveHotbarCategory()
  -- 1. show in action bar widgets

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
AUI - Advanced UI5,406,091
Srendarr - Aura, Buff & Debuff Tracker5,058,870
LibCombat5,017,654
Combat Metronome (GCD Tracker)483,791
Wizard's Wardrobe481,038