WoW:API GetTrackingTexture: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API GetTrackingTexture to API GetTrackingTexture without leaving a redirect) |
||
(One intermediate revision by one other user 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. | ||
Line 20: | Line 21: | ||
myTexture:SetTexture (icon) | myTexture:SetTexture (icon) | ||
end | end | ||
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