FANDOM


WoW API < GetBindingByKey
local binding = GetBindingByKey(key)

This returns whatever is bound to "key", be it a spell or an action or a click. If there is no binding it returns nil, unlike API GetBindingAction which returns a blank string.

Parameters Edit

Arguments Edit

  • key (string) - WoW 'key name' of the key to get the binding for, such as an upper case letter like "K"

Returns Edit

  • binding (string) - the full binding command string, which is the name of the action that will be taken
Community content is available under CC-BY-SA unless otherwise noted.