WoW:API GetBindingFromClick: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(My first page creation, so not sure this'll quite work properly.)
 
m (wowapi tag)
Line 1: Line 1:
{{wowapi}}
Gets the binding action from a key or button press.
Gets the binding action from a key or button press.



Revision as of 18:03, 28 February 2010

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.