• Resolved dG

    (@gottschalk)


    Hello!

    Is there a way to control the animation player though JS ?

    I need the animation to start and play once when scrolled into view.

    Thanks for your help!

    Best regards,
    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author LottieFiles

    (@lottiefile)

    Hey @gottschalk

    You can use the Play Animation Settings on Block settings to play the Lottie once you start scrolling. Change the Play Animation settings to Scroll from the Block settings.

    I think the ‘scroll’ setting doesn’t do what the OP (and I) need it to do. Currently the scroll setting ties the actual animation movement to the user’s scrolling. What I need is for the entire animation to play once the element is in view. I don’t think there is a way to do it with the current plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Trigger Animation with JS’ is closed to new replies.