WoW API: GetBindingFromClick

Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API GetBindingFromClick to API GetBindingFromClick without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.