UIHANDLER OnKeyDown

Fires when pressing a key.
 (self, key)
== Arguments ==
; self: - The widget receiving input.
; key: - The key represented by a UTF-8 character or a control word such as "ESCAPE", "BACKSPACE", and "LSHIFT".
== Details ==
* Fires before (which can repeat while the button is held down). Usually followed by when released.
* Requires , which another Frame can block with .
* also requires . Fires before , and .
== See also ==
* Creating key bindings - An alternative more suited to handling game actions.