WoW API: GetBindingFromClick

Revision as of 18:03, 28 February 2010 by WoWWiki>Resa1983 (wowapi tag)

WoW API < GetBindingFromClick

Gets the binding action from a key or button press.

command = GetBindingFromClick(keyOrButton)

Arguments

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

Returns

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