Fandom

WoWWiki

API GetBindingAction

104,754pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetBindingAction

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

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

Arguments Edit

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

Returns Edit

action 
String - action command performed by the binding. If no action is bound to the key, an empty string is returned.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.