> 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.dialoguerunner/yarn.unity.dialoguerunner.dialoguetask.md).

# DialogueTask

Property in [DialogueRunner](/3.1/api/csharp/yarn.unity/yarn.unity.dialoguerunner.md)

## Summary

Gets a [YarnTask](/3.1/api/csharp/yarn.unity/yarn.unity.yarntask-1.md) that completes when the dialogue runner finishes its dialogue.

```csharp
public YarnTask DialogueTask { get; }
```

## Remarks

If the dialogue is not currently running when this property is accessed, the property returns a task that is already complete.
