# Text

Show Text

The say statement is used... well, for a character to say something. The syntax is as follows:

`"[Character Identifier] [Text to Say]"`

```javascript
"e Hi! My name is Evelyn."
```

It also accepts HTML, so you can show many things in a text like the Font Awesome icons.

```javascript
"e The <span class='fa fa-arrow-left'></span> button is the back button, press it to return to a previous state of the game.",
```

If no character identifier is given, it will be considered as a narration and no name will be shown.

```javascript
"This would be a narrator."
```

#### Clear the Text

You may want in some point to clear/remove the text. There's a "clear command" for that.

```javascript
"clear"
```

#### Side Images

If you've defined the "Side" property for your characters, adding a list of images to show, you can use them as side images with each dialog, to do so, you should use a format like this one:

```javascript
"e:Smiling Hi! My name is Evelyn."
```

This assumes you have a Side image called Smiling, which means with every dialog you can specify what side image to use. If you add the "Face" property then that image will be shown with every dialog without the need of specifying it inside the statement.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.monogatari.io/documentation/1.4.1-1/script/text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
