WoW:API GetActionTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Copy-edited to fit {{wowapi}})
m (Move page script moved page API GetActionTexture to API GetActionTexture without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


Returns the filepath for an action's texture.
Returns the filepath for an action's texture.
{{Code/Begin}}
texture = GetActionTexture(actionSlot)
texture = GetActionTexture(actionSlot)
 
{{Code/End}}
{{clr}}
{{clr}}
== Parameters ==
== Parameters ==

Latest revision as of 04:45, 15 August 2023

WoW API < GetActionTexture

Returns the filepath for an action's texture.

texture = GetActionTexture(actionSlot)

Parameters

Arguments

actionSlot - ActionSlot
The queried slot.

Returns

texture - String
  • The texture filepath for the action's icon image
  • nil, if the slot is empty