Thank you Rodrigo,
Your explanation was really simple, I had maybe just to read more into the documentation to find the solution.
I'm trying to add now the matchMedia to make the animation play only up to 900px, I've tried this code as explained in the documentation, but gave me this error "gsap__WEBPACK_IMPORTED_MODULE_0__.default.matchMedia is not a function".
Here is my code, I'm using VueJS
import gsap from "gsap";
import { TimelineLite } from 'gsap';
import ScrollTrigger from "gsap/ScrollTrigger";
gsap.registerPlugin(ScrollTrigger);
mounted() {
let mm = gsap.matchMedia();
mm.add("(min-width: 900px)", () => {
//my previes code//
})
}