This is an old revision of the document!
GetKey(<-key true) ->val
Returns a boolean indicating if the specified key is held down. Note: This returns true for as long as the key is pressed. The first argument is a string and specifies which key to check. The second argument indicates whether to ignore the events when over the UI.
if (GetKey("W" true)) Trace("W pressed") endif