# Change the name in the name box

> Change only what the name box shows, such as "???" for a hidden identity or a name the player entered, while the character stays the same

To show a character who hasn't introduced themselves as "???," or to show a name the player entered, change only the name shown in the name box (the display name). The speaker doesn't change, so lip sync, the dimming of characters who aren't speaking, the name color and voice numbering all keep working as that character.

The examples on this page use the English sample story, "Waiting for Stars" (choose "A sample story" and English in New Project, or run `lim new --lang en`; the characters are Akari and Sou).

## Change it for one line

A display name for one line is written together with the speaker's name, so write it in the code view.

1. In the block view, select the dialogue line whose name you want to change, and click "Code" at the top.
2. On the cursor line, add `{name ???}` right after the speaker's name (before the quotation mark), and save.

![A dialogue line in the code view, reading Sou{name ???} "...Who's there at this hour?".](/shots/en/h-name-display-inline.webp)

In the game, only the name box of that line shows "???."

![A line of dialogue with "???" in the name box.](/shots/en/h-name-display-game.webp)

`{name …}` can contain text and `{= expression}`. Write `Player{name {= game.player}} "…"` to show a name stored in a variable.

## Keep it changed until they give their name

To change it for many lines in a row, use the "Shown name" part.

1. Select the line just before the first line of dialogue you want to change.
2. Type "shown name" in the search box at the top of the parts panel, and double-click "Shown name" in the results.
3. In the right panel, enter the speaker's name in `who` and the name to show in the name box in `as`.

![The "Shown name" part, with Sou in who and ??? in as.](/shots/en/h-name-display-name.webp)

4. Where you want the original name back, search the same way, add "Reset shown name," and enter the speaker's name in `who` (leave it empty to put back every character whose name you changed).

![The "Reset shown name" part. From this line on, the name box shows "Sou."](/shots/en/h-name-display-off.webp)

In the block view, the two parts appear as "Shown name" and "Reset shown name" tags.

## Things to watch out for

- `{name …}` on a line takes priority over the "Shown name" part.
- The display name also appears in the backlog, in NVL mode and in text-to-speech.
- Read status and translations are decided by the speaker and the text. Adding a display name doesn't throw them off.

## In code

```
Sou{name ???} "...Who's there at this hour?"
@name Sou as=???
Sou "No one worth naming."
@name-off Sou
Sou "I'm Sou. I come up to this hill now and then."
```

For details, see [@name](/en/reference/name/) and [@name-off](/en/reference/name-off/).
