> 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/api/csharp/yarn/yarn.dialogue/yarn.dialogue.continue.md).

# Continue()

Method in [Dialogue](/api/csharp/yarn/yarn.dialogue.md)

## Summary

Starts, or continues, execution of the current Program.

```csharp
public void Continue()
```

## Remarks

This method repeatedly executes instructions until one of the following conditions is encountered:

* The [LineHandler](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.linehandler.md) or [CommandHandler](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.commandhandler.md) is called. After calling either of these handlers, the Dialogue will wait until [Continue()](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.continue.md) is called. Continue may be called from inside the [LineHandler](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.linehandler.md) or [CommandHandler](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.commandhandler.md), or may be called at any future time.
* The [OptionsHandler](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.optionshandler.md) is called. When this occurs, the Dialogue is waiting for the user to specify which of the options has been selected, and [SetSelectedOption(int)](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.setselectedoption.md) must be called before [Continue()](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.continue.md) is called again.)
* The Program reaches its end. When this occurs, [SetNode(string)](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.setnode.md) must be called before [Continue()](/api/csharp/yarn/yarn.dialogue/yarn.dialogue.continue.md) is called again.
* An error occurs while executing the Program.

This method has no effect if it is called while the [Dialogue](/api/csharp/yarn/yarn.dialogue.md) is currently in the process of executing instructions.

## See Also

* [LineHandler](/api/csharp/yarn/yarn.linehandler.md): Represents the method that is called when the Dialogue delivers a [Line](/api/csharp/yarn/yarn.line.md) .
* [OptionsHandler](/api/csharp/yarn/yarn.optionshandler.md): Represents the method that is called when the Dialogue delivers an [OptionSet](/api/csharp/yarn/yarn.optionset.md) .
* [CommandHandler](/api/csharp/yarn/yarn.commandhandler.md): Represents the method that is called when the Dialogue delivers a [Command](/api/csharp/yarn/yarn.command.md) .
* [NodeCompleteHandler](/api/csharp/yarn/yarn.nodecompletehandler.md): Represents the method that is called when the Dialogue reaches the end of a node.
* [DialogueCompleteHandler](/api/csharp/yarn/yarn.dialoguecompletehandler.md): Represents the method that is called when the dialogue has reached its end, and no more code remains to be run.
