# Option View

An Option View is an object that the [Options List View](/2.3/using-yarnspinner-with-unity/components/dialogue-view/options-list-view.md) uses when presenting options. When the [Dialogue Runner](/2.3/using-yarnspinner-with-unity/components/dialogue-runner.md) delivers options to your game, Options List View will create an Option View for each option that could be selected.

When the Option View is pressed, the Options List View will notify the Dialogue Runner of the user's selection.

### Inspector

| Property            | Description                                                                                                                                                  |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Text                | A TextMeshPro text object that will display the text of the line.                                                                                            |
| Show Character Name | If this is turned on, the Text component will show any character name present in the option. If this is turned off, the character name will not be included. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yarnspinner.dev/2.3/using-yarnspinner-with-unity/components/dialogue-view/option-view.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
