# fold

function in `@dioramajs/text/counter`

```ts
import { fold } from '@dioramajs/text/counter'
```

How far a drum or card stands out of the page at `t`, 0 flat: it rises at the trigger and
unrolls after it lands at `land`, flat before the text takes over, so the hand-off shows nothing.

```ts
function fold(t: number, land: number): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `t` | `number` |  |
| `land` | `number` |  |

Defined in [packages/text/src/counter.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/counter.ts#L305).
