Widget API: GameTooltip:GetSpell

From AddOn Studio
Jump to navigation Jump to search

Widget API ← GameTooltip < GetSpell

spellName, spellID = GameTooltip:GetSpell();

Returns the name and link of the item displayed on a GameTooltip.


Arguments
none

Returns
spellName, spellID
spellName
Plain text spell name (e.g. "Explosive Shot").
spellID
Integer spell ID (e.g. "60053").