API GetBindingAction

104,670pages 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

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

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.

Also on Fandom

Random Wiki