> For the complete documentation index, see [llms.txt](https://saitama-studio.gitbook.io/essential-systems/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://saitama-studio.gitbook.io/essential-systems/systems/console.md).

# Console

<figure><img src="/files/Vepm4iASrZ5jBJch9REM" alt=""><figcaption></figcaption></figure>

Currently, in the console demo scene, you can access the console by pressing "F7" when playing the game. Here you can type any command you create (which we will do in the next paragraph) or type `"help"` to list all commands and their descriptions.

To create a new command you simply have to annotate a `public static string` method with:

```csharp
[Command("<command-name>", "<description>")]
```

For example:

```csharp
public class TestClass : MonoBehaviour
{
    // any code here
    
    [Command("say-hello", "simply says hello")]
    public static string SayHelloCommand(out EConsoleColor color, params string[] args)
    {
        color = EConsoleColor.Output;
        return "Hello!";
    }
]
```
