# Dialogue Box UGUI

<figure><img src="https://1123894923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi5EhvGPJLvE6Kc1rE7X5%2Fuploads%2FYqj9y0xBUiji50Kx7VOT%2Fimage.png?alt=media&#x26;token=4c1ef92b-6018-4423-97fd-20189ae4dd8b" alt="" width="260"><figcaption></figcaption></figure>

**GameObject > Feel Speak > UI > Dialogue Box**

The **Dialogue Box UGUI** component is Feel Speak's main dialogue UI manager. As long as all the properties are set, dialogue will be handled automatically when it's triggered.

| Name                       | Description                                                        |
| -------------------------- | ------------------------------------------------------------------ |
| Mode                       | The dialogue mode. Controls text display behavior.                 |
| Dont Destroy On Load       | If this object should not be destroyed when the scene is unloaded. |
| Speaker Cycle              | The speaker cycling type.                                          |
| Primary Dialogue Speaker   | The primary dialogue speaker.                                      |
| Secondary Dialogue Speaker | The secondary dialogue speaker.                                    |
| On Open                    | A callback for when the dialogue box is opened.                    |
| On Close                   | A callback for when the dialogue box is closed.                    |
| Content                    | The GameObject that contains all the content.                      |
| Dialogue Label             | The label that displays the dialogue text.                         |
| Dialogue Scroll            | The ScrollRect of the dialogue. This is used for overflow cases.   |

## Recommendations

* Control whether your character can move when dialogue starts or ends by toggling movement with the on open and close events.
