WoW:API GameTooltip GetSpell: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API GameTooltip GetSpell to API GameTooltip GetSpell without leaving a redirect)
 

Latest revision as of 04:45, 15 August 2023

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").