# GsapPluginOptions

interface in `@dioramajs/diorama/gsap`

```ts
import type { GsapPluginOptions } from '@dioramajs/diorama/gsap'
```

Options of `gsapPlugin`.

```ts
interface GsapPluginOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `gsap` | `GsapLike` | The site's gsap. |
| `liveScroll` | `boolean` | Read window scroll in the frame, not from events (ScrollToPlugin, snap). Default true. |
| `pins` | `boolean` | Effects inside a pinned ScrollTrigger get its progress as `pin`. Default true. |
| `scrollTrigger` | `ScrollTriggerStatic \| undefined` | Pass it explicitly, since a minified build renames the class. By default it is looked up in `gsap.core.globals()` by shape (getAll, update, refresh, create, addEventListener). |
| `ticker` | `boolean \| 'auto'` | Frames from gsap.ticker. 'auto' (default) uses it unless the app runs on a deterministic driver with `step` or `tick` (offlineDriver, manualDriver), which is kept. |

Also exported from `@dioramajs/gsap`.

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