Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


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

216

Likes

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

Likes

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.

Likes

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.

Likes

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 Community Professional ,
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.

Likes

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 Community Professional ,
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

Likes

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.

Likes

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

Likes

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