Bodymovin and masks (edit: issue w/ expressions)
See original GitHub issueHi,
I’m trying to learn a bit about After Effects, so I made a new animation.
However, I can’t figure out how to use masks so that Bodymovin understands it correctly to export it. It works well enough on After Effects itself and on the Bodymovin preview, but the mask doesn’t seem to work on lottie-ios: https://gfycat.com/uncomfortableevilfireant (After Effects on the left, iOS simulator on the right)
Through my searches, I found a lot of questions about bodymovin and masks, but there were a lot of different approaches, even workarounds. I guess it would be nice to have a set of dos and don’ts about Bodymovin and Masks. Any tips?
You can download my project here: https://we.tl/t-DQEcGUHNU2
Thanks in advance 😃
=================================================================
SOLUTION:
It was a problem with the expressions I used to link properties together. All I had to do is remove them and replicate any transformations on them.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5

Top Related StackOverflow Question
Hi, lottie-ios and lottie-android don’t support expressions. Can you try removing them and see if it works?
Hi!
I removed the expressions and replicated any animations with those properties and it worked fine. It wasn’t a problem with the mask after all, hahaha!
Thank you very much 😃