WoW:API GetTrackingTexture

From AddOn Studio
Revision as of 14:10, 9 November 2005 by WoWWiki>Xtrochu (typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Return the texture of the active tracking buff if one is active.

"icon" = GetTrackingTexture ()

Arguments

None


Returns
icon
The texture of the active tracking buff, or nil is no tracking buff is active

Example
local icon = GetTrackingTexture ()
if icon then
  myTexture:SetTexture (icon)
end