Copy link to clipboard
Copied
I have a straight line created from a shape layer and the line has been beefed up using fill. For part of my composition, I want to mask this shape layer line. But every time I select the shape layer and try to create a mask, it gets flooded by fill color which is not what I need. I have tried turning off the fill for the line layer. Unfortunately this makes the line disappear - also not what I need. Does anyone know a solution?
Thanks
Lars
Copy link to clipboard
Copied
Show a screenshot of the actual structure in the timeline and the result in the comp. On a hunch, though, most likely you will simply need to reorganize your shape layer items or create new groups to ensure correct processing order.
Mylenium
Copy link to clipboard
Copied
Mylenium. Thanks for your interest
Screen grab 1
I create one word of text (“HELLO”) and put a white line beneath it. The line is made from a skinny rectangle that comes from a shape layer. The objective is to make both the word and line disappear mid-screen and, to do this, I created a mask, initially in the text layer.
Screen grab 2
I use the pen tool to draw a mask round the text in the composition window.
Screen grab 3
I mark a keyframe in the mask path of the text layer. I allow the playhead to advance a few frames. I move the mask down to the bottom of the composition window and the text disappears. Then I mark my second keyframe in the text layer mask path.
Screen grab 4
Now I try to make the white line disappear and this is where it all falls apart. I choose the pen tool after selecting the shape layer I used to make the white line.
Screen grab 5
I try to mask around the white line with the pen tool. The first thing that happens is After Effects begins making new shape layers (red arrow in the screen shot). Secondly the edges of this “mask” become visible - that’s to say they look just like the white line itself. This is (I think) because the stroke tool has not been disabled. Thirdly, the new shape layers begin turning into solid shapes, presumably because the fill has not been disabled (fill is not visible in screen shot 5 since it was from an earlier iteration).
Screen grab 6
I know I can disable the fill and stroke tools but it doesn’t help make the white line disappear in the way I was intending. If the stroke, for instance, is turned off, the white line is not visible in the first place since the white line has been built using a broad stroke or, previously, I used fill to build it. Either way, disabling the stroke and fill is not achieving anything helpful. The final screen shot 6, shows where I ended up (confused!).
Copy link to clipboard
Copied
Toglle mask drawing mode in the top toolbar (the two icons with teh star and the transparency grid in the middle-ish).
Mylenium
Copy link to clipboard
Copied
Thanks a lot. That worked.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now