Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Mamboleoo

Members
  • Content Count

    26
  • Joined

  • Last visited

Community Reputation

39 Newbie

About Mamboleoo

  • Rank
    Member

Recent Profile Visitors

375 profile views
  1. Assigning dynamic values with functions and calling update() could work indeed! Thanks
  2. Hey there, I have a ScrollTrigger animation with fixed start & end values const tween = gsap.fromTo(el, { background: 'red' }, { scrollTrigger: { scrub: true, start: 0, end: 500 }, background: 'blue', ease: 'none' }); How can I update the end value on my side? Let's say after after the user opens a modal I need to update the end value to 100. tween.scrollTrigger.end = 100; doesn't work as it is a read-only value. I found the updateTomethod on GSAP 2.0 but it seems to have been removed on 3.0 Thanks!
×