If I were you, I'd just use a function and then parameterize whatever you want:    ScrollTrigger.matchMedia({ // desktop "(min-width: 769px)": build("top 60%"), // mobile & tablet "(max-width: 768px)": build("top 80%") }); function build(start) { return function() { gsap.from(".first", { duration: 1, autoAplha: 1, yPercent: 0, scrollTrigger: { trigger: container, start: start, end: "bottom bottom", toggleA
    • Like
    7