# ScrollTriggerLike

interface in `@dioramajs/diorama/gsap`

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

The part of a ScrollTrigger instance the adapter reads.

```ts
interface ScrollTriggerLike
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `animation?` | `{ progress: () => number } \| null` | The animation the trigger controls. |
| `enabled?` | `boolean` | Whether the trigger is enabled. |
| `pin?` | `Element \| null` | The pinned element, if any. |
| `progress` | `number` | Scroll progress of the trigger, 0..1. |
| `trigger?` | `Element \| null` | The trigger element. |
| `vars?` | `{ readonly scrub?: unknown }` | The trigger's config. |

Also exported from `@dioramajs/gsap`.

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