---
tags:
    - "Dialogue"
    - "Next"
    - "Line"
    - "Text"
    - "Script"
    - "Narration"
    - "Continue"
---

# Continue Script

Game Creator / Dialogue / **Continue Script**

## Description

Instructs the chosen Dialogue to continue with the next text line

## Parameters

| Name | Description |
| :--- | :---------- |
| Dialogue | The Dialogue playing the script |

## Code

```cs
using System;
using UnityEngine;
using VisualScript.Icons;
using VisualScript.Runtime;

namespace GameCreator.Runtime.Dialogue
{
    [Title("Continue Script")]
    [Image(typeof(IconBubbleOutline), ColorTheme.Type.TextLight)]

    [Description("Instructs the chosen Dialogue to continue with the next text line")]
    [Category("Game Creator/Dialogue/Continue")]

    [Parameter("Dialogue", "The Dialogue playing the script")]

    [Keywords("Dialogue", "Next", "Line", "Text", "Script", "Narration", "Continue")]

    [Serializable]
    public class InstructionDialogueScriptContinue : Instruction
    {
        [SerializeField] private GetGameObject m_Dialogue = new GetGameObject(
            new TypeGameObjectDialogue()
        );

        protected override string GetTitle(GameObject source) => $"{this.m_Dialogue} Continue";

        protected override Awaitable Run(Args args)
        {
            Dialogue dialogue = this.m_Dialogue.Get<Dialogue>(args);
            if (dialogue != null) dialogue.Continue();
            return Done;
        }
    }
}
```

