gsap-timeline

Sequences GSAP animations using timelines, position parameters, labels, and nesting.

Updated Sep 1, 2026
One-click install
npx skills add https://github.com/zamansepeti43/c-rak-agent --skill gsap-timeline-zamansepeti43
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-timeline
Source: https://github.com/zamansepeti43/c-rak-agent/tree/main/video-engine/.agents/skills/gsap-timeline
Command: npx skills add https://github.com/zamansepeti43/c-rak-agent --skill gsap-timeline-zamansepeti43

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? Coordinating multiple animations with chained delays is fragile and hard to maintain. This Skill provides the official GSAP patterns for sequencing tweens with timelines, so animations run in a controlled, readable order. ## Core Features & Use Cases - Timeline Sequencing: Create timelines with gsap.timeline() and place tweens using the position parameter (absolute times, relative offsets, labels, "<" and ">" placement). - Labels and Defaults: Add labels with addLabel() for readable sequencing and pass shared defaults (duration, ease) to all child tweens. - Nesting and Playback Control: Nest child timelines inside a master timeline and control playback with play(), pause(), reverse(), restart(), time(), and progress(). - Use Case: When building a landing page intro where a logo fades in, a headline slides up, and a button scales in sequence, use a timeline with labels and the position parameter instead of chained delays. ## Quick Start Ask the AI to create a GSAP timeline that fades in a header, then slides up a subtitle 0.2 seconds later, using labels and shared defaults.

Frequently Asked Questions about gsap-timeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sequence multiple GSAP animations in order?

Create a timeline with gsap.timeline() and add tweens with .to(); they play one after another by default. Use the position parameter as the third argument to place tweens at absolute times, relative offsets like "+=0.5", or labels.

What is the GSAP position parameter and how does it work?

The position parameter controls when a tween starts within a timeline. It accepts absolute times (1), relative offsets ("+=0.5", "-=0.2"), labels ("intro"), and placement shortcuts like "<" to start with the previous tween or ">" to start after it.

Can I nest GSAP timelines inside other timelines?

Yes, timelines can contain other timelines. Create a child timeline, populate it with tweens, then add it to a master timeline with master.add(child, position) to compose complex animation sequences.

Should I use delay or a timeline for chained animations?

Prefer a timeline over chained delays for multi-step animation. Timelines with the position parameter and labels are more readable and maintainable, and they give you playback controls like play(), reverse(), and seek.

Can I put ScrollTrigger on tweens inside a GSAP timeline?

No, ScrollTriggers should only be placed on top-level tweens or timelines, not on tweens nested inside a timeline. Attach the ScrollTrigger to the timeline itself so it scrubs the entire sequence.

How do I set default duration and ease for all tweens in a timeline?

Pass a defaults object to the timeline constructor, such as gsap.timeline({ defaults: { duration: 0.5, ease: "power2.out" } }). Every child tween then inherits those values unless overridden individually.