> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.4/api/csharp/yarn/yarn.dialogue/yarn.dialogue.commandhandler.md).

# CommandHandler

Property in [Dialogue](/2.4/api/csharp/yarn/yarn.dialogue.md)

## Summary

Gets or sets the [CommandHandler](/2.4/api/csharp/yarn/yarn.commandhandler.md) that is called when a command is to be delivered to the game.

```csharp
public CommandHandler CommandHandler
{
            get; set; }
```
