Copied!
Blog

How to Check if a Website Uses GSAP (Version, Plugins, ScrollTriggers)

One console snippet tells you whether GSAP is on the page, which version, which plugins, and how many ScrollTriggers. Tested on three sites, plus what to do when it finds nothing.

← Blog

October 21, 2026

3 min readIncludes a tested console snippet

To check if a website uses GSAP, open the browser console and run window.gsap?.version. If it returns a version string such as 3.15.0, GSAP is on the page. The snippet below also lists its plugins and counts its ScrollTriggers. We ran it on three sites, and the results are further down.

Prefer not to open the console? The free animation library checker does this from a URL and also looks for Three.js, Lenis and CSS motion.

What console snippet checks for GSAP?

Open DevTools, go to the Console and paste:

({
  version: window.gsap?.version,
  scrollTriggers: window.ScrollTrigger?.getAll().length,
  pinned: window.ScrollTrigger?.getAll().filter((t) => t.pin).length,
  tweens: window.gsap?.globalTimeline.getChildren(true, true, true).length,
  plugins: ["ScrollTrigger", "ScrollSmoother", "SplitText", "Flip", "Draggable",
    "MotionPathPlugin", "MorphSVGPlugin", "DrawSVGPlugin", "Observer", "CustomEase"]
    .filter((name) => window[name]),
})

Each line answers a question. version says whether GSAP is there at all. scrollTriggers is how many scroll-linked effects exist, and pinned is how many of those pin a section in place while you scroll. tweens is how many tweens and timelines are alive on the page, and plugins lists which of the common plugins are loaded. On a page without GSAP every value except the plugin list comes back undefined.

What did three real sites return?

Run on 21 October 2026, a few seconds after each page loaded:

gsap.comenrichr.devlinear.app
version3.15.03.13.0undefined
ScrollTriggers43 (1 pinned)71 (0 pinned)undefined
Tweens and timelines235155undefined
Plugins foundScrollTrigger, ScrollSmoother, MotionPath, DrawSVG, CustomEaseScrollTrigger, MorphSVG, Observernone

The first two are what a GSAP-heavy site looks like: dozens of ScrollTriggers and hundreds of tweens. Linear is the useful third column. It animates a great deal, with 83 CSS animations running when we looked, and exposes no GSAP, so “undefined” there is the right answer for this check.

Why do the counts change?

Do not treat the numbers as fixed. A scroll-driven site creates many of its triggers only when a section approaches the screen, so the count grows as you scroll. Different tools also measure different things. On enrichr.dev we saw 155 tweens at load in the browser, and 286 in a capture that had scrolled the page first. On gsap.com the same two measurements gave 235 and 167. Read the figures as the size of the setup, tens or hundreds, and not as an exact tally.

What if it finds nothing?

A blank result means GSAP is not exposed on window. That is not the same as absent. Two other places to look:

  1. The Network tab. Reload with it open and filter by gsap. Sites that load the library from a CDN show a file name such as gsap.min.js, often with the version in the path. The same filter catches ScrollTrigger.
  2. A tool that watches from the start. The checker linked above installs its hook before the page’s scripts run, so it sees a library at the moment it registers, instead of looking for what is left afterwards. The free Animation Detector extension (on the Chrome Web Store soon) runs the same kind of check on the page you have open, using only what the page still exposes.

If the answer is still no, the motion is probably CSS or another library. The post what animation library does a website use covers how to tell which, and does this website use Lenis covers the smooth scrolling that often runs alongside GSAP.

Once you know it is GSAP

Knowing the version and plugins tells you which docs to read. Rebuilding an effect needs the actual timeline: durations, easings, the trigger start and end. That is the subject of how to recreate a GSAP scroll animation from a website. If the page also has a 3D hero, check it with the WebGL checker, and see how to tell if a website uses WebGL.

FAQ

How do I know if a website uses GSAP?

Open the console and run window.gsap?.version. A version number like 3.15.0 means GSAP is loaded. The animation library checker does the same from a URL and also reports Three.js, Lenis and CSS motion.

How do I find which GSAP plugins a site uses?

Check for plugin globals such as window.ScrollTrigger, window.ScrollSmoother, window.SplitText and window.Flip. The snippet in this post lists the ones present.

How do I count a site's ScrollTriggers?

Run window.ScrollTrigger?.getAll().length. Each trigger is one scroll-linked effect, and the pinned ones, whose pin property is set, are the sections that stick while you scroll.

Why does the number of tweens change?

Many triggers and tweens are created only when their section nears the screen, so the count grows as you scroll. Different tools also count different things, such as tweens alive right now versus tweens created so far.

What if window.gsap is undefined but the site clearly animates?

It may use CSS, another library such as Motion or anime.js, or a build that does not leave a global. Search the Network tab for "gsap" in script names, or run a tool that hooks in before the page's scripts.

Can I copy a site's GSAP animation?

You can reproduce an effect once you know the timeline, easing and trigger settings. Our guide on recreating a GSAP scroll animation from a website walks through it, and the legal side is in is it legal to copy a website design.