WoW API: GetTrackingTexture

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetTrackingTexture to API GetTrackingTexture without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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