WoW:API BonusActionButtonUp: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{framexmlfunc|FrameXML/BonusActionBarFrame.lua}} __NOTOC__)
m (Move page script moved page API BonusActionButtonUp to WoW:API BonusActionButtonUp without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{framexmlfunc|FrameXML/BonusActionBarFrame.lua}} __NOTOC__
{{framexmlfunc|FrameXML/BonusActionBarFrame.lua}}
 


  BonusActionButtonUp(buttonID);
  BonusActionButtonUp(buttonID);


Releases the specified "bonus" (pet or minion) action button.
Releases the specified "bonus" (pet or minion) action button.


== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===
 
* buttonID (number) - The button ID of the bonus button to release
:;buttonID : Number - The button ID of the bonus button to release


=== Returns ===
=== Returns ===
 
:'none'
:;nil


=== Example ===
=== Example ===
  BonusActionButtonUp(1);
  BonusActionButtonUp(1);

Latest revision as of 04:45, 15 August 2023

WoW API < BonusActionButtonUp

"I" iconThis function is implemented in Lua here FrameXML/BonusActionBarFrame.lua.
BonusActionButtonUp(buttonID);

Releases the specified "bonus" (pet or minion) action button.

Parameters

Arguments

  • buttonID (number) - The button ID of the bonus button to release

Returns

'none'

Example

BonusActionButtonUp(1);