WoW API < GetBindingAction

Returns the name of the action performed by the specified binding.

action = GetBindingAction("binding"[, checkOverride]);

Arguments[edit | edit source]

String - The name of the key (eg. "BUTTON1", "1", "CTRL-G")
Optional boolean - if true, override bindings will be checked, otherwise, only default (bindings.xml/SetBinding) bindings are consulted.

Returns[edit | edit source]

String - action command performed by the binding. If no action is bound to the key, an empty string is returned.
Community content is available under CC-BY-SA unless otherwise noted.