WoW:API IsModifiedClick: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added definition)
 
m (Move page script moved page API IsModifiedClick to API IsModifiedClick without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
 
Returns 1 if the keys for the specified action are down, nil otherwise.
 
Returns 1 if the keys for the specified action are down, nil otherwise. This function replaced [[API IsAutoLootKeyDown|IsAutoLootKeyDown]]() and [[API IsActionSelfCastKeyDown|IsActionSelfCastKeyDown]]()
 
  isHeld = IsModifiedClick("action")
  isHeld = IsModifiedClick("action")


== Arguments ==
== Arguments ==
:; action : String - The action to check for.  Actions defined by Blizzard: SELFCAST, AUTOLOOTTOGGLE, STICKYCAMERA, CHATLINK, DRESSUP, SOCKETITEM, SPLITSTACK, PICKUPACTION, COMPAREITEMS, OPENALLBAGS, QUESTWATCHTOGGLE
; action : String - The action to check for.  Actions defined by Blizzard:
:: SELFCAST, AUTOLOOTTOGGLE, STICKYCAMERA, CHATLINK, DRESSUP, SOCKETITEM, SPLITSTACK, PICKUPACTION, COMPAREITEMS, OPENALLBAGS, QUESTWATCHTOGGLE


== Returns ==
; isHeld : 1 if the modifier is being held, nil otherwise.


=== Returns ===
== Notes ==
:; isHeld : 1 if the modifier is being held, nil otherwise.
* This function replaced {{api|IsAutoLootKeyDown}}() and {{api|IsActionSelfCastKeyDown}}().

Latest revision as of 04:46, 15 August 2023

WoW API < IsModifiedClick

Returns 1 if the keys for the specified action are down, nil otherwise.

isHeld = IsModifiedClick("action")

Arguments[edit]

action
String - The action to check for. Actions defined by Blizzard:
SELFCAST, AUTOLOOTTOGGLE, STICKYCAMERA, CHATLINK, DRESSUP, SOCKETITEM, SPLITSTACK, PICKUPACTION, COMPAREITEMS, OPENALLBAGS, QUESTWATCHTOGGLE

Returns[edit]

isHeld
1 if the modifier is being held, nil otherwise.

Notes[edit]