WoW:API GetBindingFromClick: Difference between revisions

(My first page creation, so not sure this'll quite work properly.)
 
m (Move page script moved page API GetBindingFromClick to API GetBindingFromClick without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.



Latest revision as of 04:45, 15 August 2023

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.