.. _func_input_waitkey: ======= WaitKey ======= WaitKey - Description =========== .. code-block:: blitzmax WaitKey() Wait for a key press #WaitKey suspends program execution until a key has been hit. The keycode of this key is then returned to the application. See the #{key codes} module for a list of valid keycodes. Parameters ========== Return Values ============= The keycode of the pressed key Examples ======== See Also ========