Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API IsModifiedClick

Last wiki revision 2023-08-13

Returns true if the modifier key needed for an an action is pressed. isHeld = IsModifiedClick([action])

  • action: - The action to check for. Actions defined by Blizzard:
  • AUTOLOOTTOGGLE, CHATLINK, COMPAREITEMS, DRESSUP, FOCUSCAST, OPENALLBAGS, PICKUPACTION, QUESTWATCHTOGGLE, SELFCAST, SHOWITEMFLYOUT, SOCKETITEM, SPLITSTACK, STICKYCAMERA, TOKENWATCHTOGGLE
  • isHeld: - true if the modifier is being held, false otherwise

Despite the name, this function does not have anything to do with mouse buttons and can be used at any time to check the state of a modifier key; it is not limited to use in click-related scripts.

This function can be called with no argument to check whether *any* modifier key is pressed; in this case it behaves just like.

Source

https://warcraft.wiki.gg/wiki/API_IsModifiedClick · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.