> 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.unity/yarn.unity.dialoguerunner/yarn.unity.dialoguerunner.removecommandhandler.md).

# RemoveCommandHandler(string)

Method in [DialogueRunner](/2.4/api/csharp/yarn.unity/yarn.unity.dialoguerunner.md)

## Summary

Removes a command handler.

```csharp
public void RemoveCommandHandler(string commandName);
```

## Parameters

| Name                 | Description                        |
| -------------------- | ---------------------------------- |
| `string` commandName | The name of the command to remove. |
