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

How to make layer only visible over certain shape layers?

Participant ,
May 12, 2021 May 12, 2021

Copy link to clipboard

Copied

Hi there,

I'm creating a range map with 2 overlays that are supposed to be only visible over certain layers, in this case states. How do I make the invisible over areas that are not US states? Thanks in advance!

Screen Shot 2021-05-12 at 4.15.19 PM.png

TOPICS
How to

Views

1.4K

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
Adobe Employee ,
May 12, 2021 May 12, 2021

Copy link to clipboard

Copied

Hi PastaRhymes,

 

Thanks for writing in.

Have you considered using Track Matt? It'll work pretty well if you have the map layers separated. Here's an example: https://www.youtube.com/watch?v=zgbXGqYMxq4&ab_channel=BOLT

Let us know if it helps.

 

Thanks,

Nishu

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
Participant ,
May 12, 2021 May 12, 2021

Copy link to clipboard

Copied

Hi Nishu,

 

thank you so much for your help.

Yes, that would work with an alpha inverted mask if the the states were all on one layer but I can only put one state underneath the range map.

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
Participant ,
May 12, 2021 May 12, 2021

Copy link to clipboard

Copied

Another problem is that I have 2 range map overlays. A 1-day and a 2-day drive time overlay.

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 Expert ,
May 12, 2021 May 12, 2021

Copy link to clipboard

Copied

If all your states are seperate layers, duplicate whichever states you need in the Track Matte, then precompose all the duplicate layers.  Use the precomp as your Track Matte.

 

If your states are all on one layer, duplicate the layer, mask out the states you want in the matte, then use that layer as your Track Matte.

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
LEGEND ,
May 13, 2021 May 13, 2021

Copy link to clipboard

Copied

As @Andrew Yoole already wrote, you need to work with duplicate layers and pre-comps. Trying to do everything in a single sweep rarely ever yields the results you want.

 

Mylenium

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
Participant ,
May 13, 2021 May 13, 2021

Copy link to clipboard

Copied

Thank you all. When I try to precompose all the states, they disappear and the composition turns black. Any idea as to why that is?

Sorry, I'm an absolute beginner in AE.

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
Participant ,
May 13, 2021 May 13, 2021

Copy link to clipboard

Copied

LATEST

I should mention I'm using GeoLayers for this and get an expression error when precomposing.

 

//GEOlayers 3 expression
var shapeAnchorName = "World Mapcomp Anchor";var val = 100/thisComp.layer(shapeAnchorName).transform.scale[1]*value*0.15349902212887;val

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