WoW:API IsModifiedClick: Difference between revisions
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. | |||
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 | |||
== Returns == | |||
; isHeld : 1 if the modifier is being held, nil otherwise. | |||
== | == Notes == | ||
* This function replaced {{api|IsAutoLootKeyDown}}() and {{api|IsActionSelfCastKeyDown}}(). |
Latest revision as of 04:46, 15 August 2023
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]
- This function replaced IsAutoLootKeyDown() and IsActionSelfCastKeyDown().