Get Aura By Name
Game Version Wrapper
Finds the first aura on a unit that matches an aura name and returns ElvUI’s unpacked aura tuple.
NamespaceEModuleCoreLifecyclewrapper
E:GetAuraByName(unit, name, filter)Finds the first aura on a unit that matches an aura name and returns ElvUI’s unpacked aura tuple.
Parameters
Section titled “Parameters”unit: Unit token. name: Aura name to match. filter: Optional aura filter.
Returns
Section titled “Returns”Unpacked aura tuple for the matching aura, or nil.
Example
Section titled “Example”local auraName, icon = E:GetAuraByName("target", "Rejuvenation", "HELPFUL")Use when compatibility code needs name-based aura matching with ElvUI tuple behavior.
Source: ElvUI/Game/Shared/General/API.lua:555