Wikia

WoWWiki

API GetBindingFromClick

Talk0
102,254pages on
this wiki
Revision as of 17:58, February 28, 2010 by Fodaro (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Around Wikia's network

Random Wiki