Hi GSAP fellows,
I'm trying to rewrite the animation below, so that it can leverage scrollTrigger.
See the Pen wvWvNGd by eric-chuang (@eric-chuang) on CodePen
However, how I code right now can't use the trigger '.title-bg' to select multiple elements. Instead, it plays the animation on 'chars' three times.
const tl = gsap.timeline({
scrollTrigger: {
trigger: ".title-bg",
start: "top center",
toggleAct