> 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/3.1/api/csharp/yarn.unity/yarn.unity.voiceoverpresenter/yarn.unity.voiceoverpresenter.runlineasync.md).

# RunLineAsync(LocalizedLine,LineCancellationToken)

Method in [VoiceOverPresenter](/3.1/api/csharp/yarn.unity/yarn.unity.voiceoverpresenter.md)

## Summary

Begins playing the associated audio for the specified line.

```csharp
public override async YarnTask RunLineAsync(LocalizedLine dialogueLine, LineCancellationToken lineCancellationToken)
```

## Remarks

{% hint style="warning" %}
This method is not intended to be called from your code. Instead, the [DialogueRunner](/3.1/api/csharp/yarn.unity/yarn.unity.dialoguerunner.md) class will call it at the appropriate time.
{% endhint %}

## Parameters

| Name                                                                                                                     | Description                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| line                                                                                                                     | The line to present.                                                                                                                                                                                                     |
| token                                                                                                                    | A [LineCancellationToken](/3.1/api/csharp/yarn.unity/yarn.unity.linecancellationtoken.md) that represents whether the dialogue presenter should hurry it its presentation of the line, or stop showing the current line. |
| [Yarn.Unity.LocalizedLine](/3.1/api/csharp/yarn.unity/yarn.unity.localizedline.md) dialogueLine                          |                                                                                                                                                                                                                          |
| [Yarn.Unity.LineCancellationToken](/3.1/api/csharp/yarn.unity/yarn.unity.linecancellationtoken.md) lineCancellationToken |                                                                                                                                                                                                                          |

## See Also

* [DialoguePresenterBase.RunLineAsync(LocalizedLine,LineCancellationToken)](/3.1/api/csharp/yarn.unity/yarn.unity.dialoguepresenterbase/yarn.unity.dialoguepresenterbase.runlineasync.md): Called by the [DialogueRunner](/3.1/api/csharp/yarn.unity/yarn.unity.dialoguerunner.md) to signal that a line should be displayed to the user.
