key$. See IsKeyDown for the keys you can specify in key$. Please note that
WaitKeyDown()cannot be used for Unicode characters. Only characters from the English alphabet are universally supported.
Starting with Hollywood 6.1 you can pass the special string
key$ to wait for an arbitrary key to be pressed.
Starting with Hollywood 7.1 there is an optional argument
If this argument is set to
WaitKeyDown() will treat
key$ as a
raw key and wait until it is down. In that case,
key$ must be one
of the raw keys defined by Hollywood. See Raw keys for details.
The difference between normal keys and raw keys is described in
the documentation of the
OnRawKeyDown event handler.
See InstallEventHandler for details. Setting
can be useful if you need to wait for a modifier key like shift, alt,
key$should be treated as a raw key (defaults to
Print("Press Return to continue.") WaitKeyDown("Return")The code aboves waits until the user presses the return key.