> 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.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.removecommandhandler.md).

# RemoveCommandHandler(string)

Method in [IActionRegistration](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration.md)

## Summary

Removes a command handler.

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

## Parameters

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