# Can we export AE expression using lottie files

**URL:** <https://forum.lottiefiles.com/t/can-we-export-ae-expression-using-lottie-files/1578>\
**Category:** Lottie Animation Design\
**Created:** [October 4, 2021, 8:23am UTC](https://forum.lottiefiles.com/t/can-we-export-ae-expression-using-lottie-files/1578 "2021-10-04T08:23:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhiraj.lucky1](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/abhiraj.lucky1/32/1108_2.png) [@abhiraj.lucky1](https://forum.lottiefiles.com/u/abhiraj.lucky1)\
**Post date:** [October 4, 2021, 8:23am UTC](https://forum.lottiefiles.com/t/can-we-export-ae-expression-using-lottie-files/1578/1 "2021-10-04T08:23:30Z")

</div>

Hello,

I have used a " **loop out**" expression in my animation, and when i tried to export it says " **unable to execute script at line 18. syntax error lottie**". When i view it on my mobile only the key frame part of it is getting animated and not the expression part of it. Is lottie supposed to not export AE expressions?

Thank you

---

<div class="post-metadata">

**Author:** ![irbypace](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/irbypace/32/3165_2.png) [@irbypace](https://forum.lottiefiles.com/u/irbypace)\
**Post date:** [October 4, 2021, 1:36pm UTC](https://forum.lottiefiles.com/t/can-we-export-ae-expression-using-lottie-files/1578/2 "2021-10-04T13:36:15Z")

</div>

@abhiraj.lucky1 You should be able to do that… at least from what I’ve done in the past I’ve been able to.

It’s also possible to convert expressions to keyframes, then export. It doesn’t always work with really complex expressions.

**In after effects:**

1. Select the Layer
2. press EE to show all expressions on that layer
3. select each property you want to convert
4. go to Animation \> Keyframe Assistant \> Convert Expressions to Keyframes

---

<div class="post-metadata">

**Author:** ![abhiraj.lucky1](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/abhiraj.lucky1/32/1108_2.png) [@abhiraj.lucky1](https://forum.lottiefiles.com/u/abhiraj.lucky1)\
**Post date:** [October 4, 2021, 5:36pm UTC](https://forum.lottiefiles.com/t/can-we-export-ae-expression-using-lottie-files/1578/3 "2021-10-04T17:36:58Z")

</div>

Thank you for the tip @irbypace, but i am still getting the same issue. Please let me know how to fix " **unable to execute script at line 2. syntax error lottie**.

---

<div class="post-metadata">

**Author:** ![irbypace](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/irbypace/32/3165_2.png) [@irbypace](https://forum.lottiefiles.com/u/irbypace)\
**Post date:** [October 4, 2021, 5:42pm UTC](https://forum.lottiefiles.com/t/can-we-export-ae-expression-using-lottie-files/1578/4 "2021-10-04T17:42:22Z")

</div>

Can you send a screenshot of your code? You can also send me (email) the file and I can diagnose.

---

<div class="post-metadata">

**Author:** ![abhiraj.lucky1](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/abhiraj.lucky1/32/1108_2.png) [@abhiraj.lucky1](https://forum.lottiefiles.com/u/abhiraj.lucky1)\
**Post date:** [October 4, 2021, 6:07pm UTC](https://forum.lottiefiles.com/t/can-we-export-ae-expression-using-lottie-files/1578/5 "2021-10-04T18:07:52Z")

</div>

Thanks a lot for the help @irbypace, but it working okay now after a restarting PC, I have just started learning Lottie, seems the community very good to learn 🙂. Will get back if i face the issues.

Regards.

---

<div class="post-metadata">

**Author:** ![irbypace](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/irbypace/32/3165_2.png) [@irbypace](https://forum.lottiefiles.com/u/irbypace)\
**Post date:** [October 4, 2021, 6:27pm UTC](https://forum.lottiefiles.com/t/can-we-export-ae-expression-using-lottie-files/1578/6 "2021-10-04T18:27:11Z")

</div>

That is great to hear and good luck!
