Wikia

WoWWiki

API GetBindingFromClick

Talk0
101,513pages on
this wiki
Revision as of 18:03, February 28, 2010 by Resa1983 (Talk | contribs)

(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 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.

Around Wikia's network

Random Wiki