> 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.lineadvancer/yarn.unity.lineadvancer.ondialoguestartedasync.md).

# OnDialogueStartedAsync()

Method in [LineAdvancer](/3.1/api/csharp/yarn.unity/yarn.unity.lineadvancer.md)

## Summary

Called by a dialogue runner when dialogue starts to add input action handlers for advancing the line.

```csharp
public override YarnTask OnDialogueStartedAsync()
```

## Returns

A completed task.
