Home > @unseenco/backstage-gsap > registerGsapAnimation
registerGsapAnimation() function
Registers a GSAP tween for Backstage sequence bridging and creates an outline proxy object under GSAP/<label> (namespace configurable).
The animation is paused immediately so Backstage can drive progress.
Signature:
typescript
export declare function registerGsapAnimation(animation: GsapTweenLike, sheet: ISheet, options: RegisterGsapAnimationOptions): RegisterGsapAnimationResult;Parameters
| Parameter | Type | Description |
|---|---|---|
| animation | GsapTweenLike | |
| sheet | ISheet | |
| options | RegisterGsapAnimationOptions |
Returns: