WoW:API GetTrackingTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (typo)
 
m (Move page script moved page API GetTrackingTexture to API GetTrackingTexture without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
Return the texture of the active tracking buff if one is active.
Return the texture of the active tracking buff if one is active.



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