• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Lottie files and masks. Here's what I did...

Community Beginner ,
Nov 05, 2024 Nov 05, 2024

Copy link to clipboard

Copied

Hey everyone,


I’ve been working on animating some titles and graphics that required masks in After Effects. To get the masks to work properly, I ended up having to pre-compose every element that used a mask. This led to over 20 pre-compositions, which felt a bit excessive.


I’m wondering if there’s a more efficient way to handle masks? After Effects isn’t part of my usual workflow, but I’m aiming to create some Lottie files for my website.


Here’s what I did: after finishing the animation, I applied the mask to the pre-composed layer. I also tried using an adjustment or shape layer to create the mask, but the results didn’t translate well when I exported to Adobe XD.


Maybe this issue is related to Lottie file specifics, but I’m sure there must be a better approach that doesn’t involve so many pre-comps. Any advice would be greatly appreciated!


Thanks!

TOPICS
How to

Views

182

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Nov 05, 2024 Nov 05, 2024

To reduce pre-comps, try using track mattes instead. Place the mask layer above your target layer and set it as an Alpha Matte to keep it simple. For Lottie exports, avoid complex masks—stick to basic shapes or apply masks directly to shape layers for better compatibility.

Votes

Translate

Translate
Community Beginner ,
Nov 05, 2024 Nov 05, 2024

Copy link to clipboard

Copied

To reduce pre-comps, try using track mattes instead. Place the mask layer above your target layer and set it as an Alpha Matte to keep it simple. For Lottie exports, avoid complex masks—stick to basic shapes or apply masks directly to shape layers for better compatibility.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 06, 2024 Nov 06, 2024

Copy link to clipboard

Copied

LATEST

This worked!

I had tried this method before but the vector inside the mask would change its color for the adjustment layer and got stuck there. I just noticed you can whip it to the mask and I think that solved it? I mean after a few adjustments like unchecking the halved circle from the top and turning the visibility of the masked layer off, this finally worked haha.

I was previously selecting the layer from the dropdown, but now it works it seems, thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines