IsKeyPressed

IsKeyPressed returns true when the key requested is being held down. This is updated as part of the ProcessEvents call. Use the key codes from the KeyCodes unit.

Also See

 * KeyCodes
 * WasKeyTyped