Answers for "make the last tween infinite gsap"

0

make the last tween infinite gsap

tl_circle12
    .fromTo(crc12, 2, { strokeDashoffset: 0 }, { strokeDashoffset: l, ease: Linear.easeNone }, "round1")
    .fromTo(sball2, 2, { rotation: 0 }, { rotation: -360, ease: Linear.easeNone }, "round1")
    .fromTo(crc12, 3, { strokeDashoffset: -l }, { strokeDashoffset: 0, ease: Linear.easeNone }, "round2")
    .to(sball2, 3, { rotation: -720, ease: Linear.easeNone }, "round2")
    .to(crc12, 0, { stroke: "white", ease: Linear.easeNone }, "round2")
    .to(sball2, 3, { rotation: -1080, ease: Linear.easeNone, repeat: -1 })

add this  repeat: -1
Posted by: Guest on March-16-2021

Browse Popular Code Answers by Language