WoW:API GetTrackingTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API GetTrackingTexture to API GetTrackingTexture without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

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