Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetBindingByKey

Last wiki revision 2023-08-13

Returns the binding action performed when the specified key combination is triggered. bindingAction = GetBindingByKey(key)

  • key: - binding key to query, e.g. "G", "ALT-G", "ALT-CTRL-SHIFT-F1".
  • bindingAction: - binding action that will be performed, e.g. "TOGGLEAUTORUN", "CLICK Purrseus:k1", or nil if no action will be performed.
  • This function takes into account override bindings by default.
  • This discards modifiers from the argument until a binding matches; thus, querying for can return the action performed due to the simple "G" binding.

Source

https://warcraft.wiki.gg/wiki/API_GetBindingByKey · 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.