# FlightOptions

interface in `@dioramajs/diorama/transitions`

```ts
import type { FlightOptions } from '@dioramajs/diorama/transitions'
```

How copies fly between pages.

```ts
interface FlightOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `crossfade` | `number` | Seconds a landed copy fades over the target's own copy or DOM. Default 0.25. |
| `duration` | `number` | Seconds. Default 0.8. |
| `ease` | `Ease` | Default cubic in-out. GSAP eases work too, e.g. `gsap.parseEase('expo.inOut')`. |
| `stagger` | `number` | Seconds between flight starts, in document order of the targets. Default 0. |
| `wait` | `number` | Seconds a landed copy waits for the target's copy before giving way to the DOM. Default 2. |

Also exported from `@dioramajs/transitions`.

Defined in [packages/transitions/src/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/transitions/src/types.ts#L9).
