> 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/api/csharp/yarn/yarn.optionshandler.md).

# OptionsHandler

Delegate in [Yarn](/api/csharp/yarn.md)

Inherits from `System.MulticastDelegate`

## Summary

Represents the method that is called when the Dialogue delivers an [OptionSet](/api/csharp/yarn/yarn.optionset.md) .

```csharp
public delegate void OptionsHandler(OptionSet options);
```

## Parameters

| Name                                                         | Description                                                                  |
| ------------------------------------------------------------ | ---------------------------------------------------------------------------- |
| [Yarn.OptionSet](/api/csharp/yarn/yarn.optionset.md) options | The [OptionSet](/api/csharp/yarn/yarn.optionset.md) that has been delivered. |

## See Also

* [LineHandler](/api/csharp/yarn/yarn.linehandler.md): Represents the method that is called when the Dialogue delivers a [Line](/api/csharp/yarn/yarn.line.md) .
* [CommandHandler](/api/csharp/yarn/yarn.commandhandler.md): Represents the method that is called when the Dialogue delivers a [Command](/api/csharp/yarn/yarn.command.md) .
* [NodeStartHandler](/api/csharp/yarn/yarn.nodestarthandler.md): Represents the method that is called when the Dialogue begins executing a node.
* [NodeCompleteHandler](/api/csharp/yarn/yarn.nodecompletehandler.md): Represents the method that is called when the Dialogue reaches the end of a node.
* [DialogueCompleteHandler](/api/csharp/yarn/yarn.dialoguecompletehandler.md): Represents the method that is called when the dialogue has reached its end, and no more code remains to be run.
