Skip to main content
campbellma
Inspiring
September 21, 2013
Answered

Align Stroke in After Effects

  • September 21, 2013
  • 9 replies
  • 63428 views

Shape Layes has almost everything that Illustrator has, except for the abilty to align the stroke to Inside, Outside or Center. Is there a way to do this?

I want this but in After Effects!

image.jpg

Correct answer Gabe Valente

in the shape layer, click on the "Add" button, and chose "Offset Paths"

You can manually alter the offset value, or if you'd like to automate an inner stroke or outer stroke, just pick-whip the offset amount to the stroke width, then, divide by 2, or -2.

An inner stroke would look something like this:

9 replies

Participating Frequently
June 2, 2023

the best way to have an inner stroke is:

1- pre-compose your shape layer(with move all attributes option)

2- Add fill effects

3- with the new composition selected, choose auto trace from the layers menu

4- choose alpha and press OK

5- Apply stroke effect to layer with the setting mentioned below:

- brush hardness 100%

- All masks - checked

- stroke seq... - unchecked

- paint style - reveal....

All that's all and now you can increase brush size in the inner stroke.

 

Participant
October 30, 2020

Okay I have figured out how to add expression  and I have done exactly what you said but not working.

Participant
December 22, 2019

Thank you It's realy working

 

sagorsur
Participant
May 5, 2018

Thanks a lot! It's working...

Participant
March 10, 2017

You can drag fill above stroke.. see below.

Participant
June 28, 2019

This works great for an outer stroke, when and if your fill is 100% opaque.

Gabe Valente
Gabe ValenteCorrect answer
Inspiring
July 29, 2014

in the shape layer, click on the "Add" button, and chose "Offset Paths"

You can manually alter the offset value, or if you'd like to automate an inner stroke or outer stroke, just pick-whip the offset amount to the stroke width, then, divide by 2, or -2.

An inner stroke would look something like this:

Participant
September 4, 2014

Thank you. This helped me.

Gabe Valente
Inspiring
September 4, 2014

yay! glad I could help!

Participant
April 26, 2014

the only way I found to go around this was to paste the Illustrator path while selecting the "path" option in the Shape Layer. then make the stroke width double of what you need, and then, select Shape Layer (not Path option), to create a mask, changing the blending mode to SUBTRACT, and there you go.

Participant
October 27, 2013

Im also having the exact same problem

Community Expert
September 21, 2013