Returns the action bound to a key or key combination


See also Keybind functions.

Signature:

action = GetBindingByKey("key")

Arguments:

  • key - A key or key combination (e.g. "CTRL-2") (string, binding)

Returns:

  • action - Name of the action associated with the key, or the empty string ("") if the key is not bound to an action (string)