# Keyboard input You can find this sample in the tutorial project: **Menu** -> **Keyboard input** ## Explanation This C# basics tutorial covers how to handle keyboard input. We can check for the existisce of a keyboard and then we can use various methods to check if a key is pressed, held down or released. ![Keyboard input](media/keyboard-input.png) ## Code [!code-csharp[Entity](..\..\..\..\xenko\samples\Tutorials\C# Basics\CSharpBasics\CSharpBasics.Game\Code\KeyboardInput.cs)]