WoW API: GetTrackingTexture

WoW API < GetTrackingTexture

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