Skip to content

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.

unit: Unit token. name: Aura name to match. filter: Optional aura filter.

Unpacked aura tuple for the matching aura, or nil.

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