Fandom

WoWWiki

API GetBindingFromClick

104,757pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetBindingFromClick

Gets the binding action from a key or button press.

command = GetBindingFromClick(keyOrButton)

Arguments Edit

keyOrButton 
String - The mouse button or key that was pressed.

Returns Edit

command 
String - The command that keyOrButton is bound to. This is the same type that is passed to RunBinding.

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.