Hi, I just started with GSAP yesterday so it's likely that I'm doing something stupid, but I have a timeline/animation which plays fine on its own (i.e. without ScrollTrigger), and it also works with ScrollTrigger if I set the "scrub" parameter to true. But if I pass in a numeric value to scrub (to add a delay/catch-up effect as documented here, it does not work and throws errors in the console.
I switched to the UMD GSAP files for easier debugging, and Firefox throws "Uncaught TypeError: lookup[i] is undefined" in _updatePropTweens on line 2846 of gsap.js.
Chrome throws "Uncaught TypeError: Cannot read properties of undefined (reading 'totalProgress')" at the same line.
What is it about my animation that doesn't work with delayed / catch-up scrub?
Thanks for any tips!
-Simon