WoW API: IsModifiedClick

From AddOn Studio
Revision as of 03:05, 28 September 2007 by WoWWiki>Baudzilla (Added definition)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < IsModifiedClick


Returns 1 if the keys for the specified action are down, nil otherwise. This function replaced IsAutoLootKeyDown() and IsActionSelfCastKeyDown()

isHeld = IsModifiedClick("action")

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.