# Lottie Elementor Pro Widget

**URL:** <https://forum.lottiefiles.com/t/lottie-elementor-pro-widget/2384>\
**Category:** Lottie in Web\
**Created:** [March 3, 2022, 7:15am UTC](https://forum.lottiefiles.com/t/lottie-elementor-pro-widget/2384 "2022-03-03T07:15:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![g.m.gurgen](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/g.m.gurgen/32/224_2.png) [@g.m.gurgen](https://forum.lottiefiles.com/u/g.m.gurgen)\
**Post date:** [March 3, 2022, 7:15am UTC](https://forum.lottiefiles.com/t/lottie-elementor-pro-widget/2384/1 "2022-03-03T07:15:07Z")

</div>

Hi,  
I’ve created an animation on After Effects and exported as .json and upload it to my website via Elementor Pro Lottie Widget.  
The question is:  
I want to control the animation with a custom button or menu item, on click, on hovert etc.  
As i searched the web normally lottie animations renders as with an id, and you can select and play(); stop(); etc via javascript. But on elementor it renders without it seems as svg when i inspect the code.  
How can i control the animations there via javascript or jQuery?

---

<div class="post-metadata">

**Author:** ![haris](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/haris/32/2864_2.png) [@haris](https://forum.lottiefiles.com/u/haris)\
**Post date:** [March 11, 2022, 2:57pm UTC](https://forum.lottiefiles.com/t/lottie-elementor-pro-widget/2384/2 "2022-03-11T14:57:32Z")

</div>

Hey @g.m.gurgen

Elementor Pro Lottie Widget doesn’t allow you to play the animation when you click a specific button. But you can play the If you click the animation, or on hover, either the animation, or a specific part of the layout. You can do this by using the Trigger option provided by the Elementor Widget. Have a look at this video on how to do that: [How to Use Elementor's Lottie Widget [PRO] - YouTube](https://youtu.be/5m8G57735fQ?t=238)

Even though the Lottie JS players allow you to control it with programatically, It might be a bit difficult to control the Lottie player provided by the Elementor widget.
