# `letters`

```strand
element letters: node
```

Animates each letter of the `text` it is written in:
`text "hi" { letters { y: 2 * wave(1s, phase: index * 0.1) } }`. Its
props apply to each drawn letter in turn; `index` is the letter's
position.

It takes no children; may appear only directly inside `text`.

Also every prop and event of [`node`](/reference/elements/node.html.md).

| In scope | Type | |
| --- | --- | --- |
| `index` | `int` | The letter's position, from 0. |
| `count` | `int` | How many letters there are. |
