hi Rodrigo, thanks for replying
I managed to fix it with "end" property
let scrollTween = gsap.to(panels, {
xPercent: -100 * (panels.length - 1),
ease: "none",
scrollTrigger: {
trigger: ".WbContainer__Scroll_Hr",
pin: true,
scrub: 1, //scrollSmoothness and delay
end: "+=" + panels.length * 3000, //speed of scroll
}
})
so with this I would have a scalable scroll speed based on the quantity of my slides
before this my scroll space was generated automatically with the "pin" bottom padding