How to control animation svg bodymovin with GSAP?

Viewed 17

I have animation svg, downloaded with bodymovin

const ramaoknaData = { 
    container: document.getElementById('ramaokna-container'),
    renderer: 'svg',
    loop: false,
    autoplay: false,
    path: '/ramaokna.json'
};
const ramaoknaAnim = bodymovin.loadAnimation(ramaoknaData);

Then i must to control to start play and witch frame stop with GSAP Timeline And then i can control it to Scrolltrigger

Pls i need help how write timeline to control this format svg animation

const tl = gsap.timeline(); tl.to(".ramaokna-container", {...});

0 Answers
Related