# RunLine(LocalizedLine,Action)

Method in [VoiceOverView](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.unity/yarn.unity.voiceoverview)

## Summary

Begins playing the associated audio for the specified line.

```csharp
public override void RunLine(LocalizedLine dialogueLine, Action onDialogueLineFinished)
```

## Remarks

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

## Parameters

| Name                                                                                                                     | Description                                                                   |
| ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
| [Yarn.Unity.LocalizedLine](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.unity/yarn.unity.localizedline) dialogueLine | The content of the line that should be presented to the user.                 |
| `System.Action` onDialogueLineFinished                                                                                   | The method that should be called after the line has finished being presented. |

## See Also

* [DialogueViewBase.RunLine(LocalizedLine,Action)](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.unity/yarn.unity.dialogueviewbase/yarn.unity.dialogueviewbase.runline): Called by the [DialogueRunner](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.unity/yarn.unity.dialoguerunner) to signal that a line should be displayed to the user.
