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

Reverse pasted path direction?

Explorer ,
Mar 22, 2012 Mar 22, 2012

Copy link to clipboard

Copied

I've got a path on a Shape layer and I'm copying that path into the Position of another layer (so I can animate that layer along the path).

But I need to reverse the direction that the pasted position travels.

So instead of the object moving left to right, I need right to left.

I tried changing the "Reverse Path Direction" parameter on the path before copy/pasting, but that didn't seem to do anything.

TOPICS
How to

Views

45.6K

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

New Here , May 06, 2016 May 06, 2016

2015 CC

selected all key > right click>keyframe assistant>Time-reverse keyframe

Votes

Translate

Translate
LEGEND ,
Mar 22, 2012 Mar 22, 2012

Copy link to clipboard

Copied

Select the point you want to be the first, right-click, choose Mask and Shape Path --> Set First Vertex

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
Explorer ,
Mar 22, 2012 Mar 22, 2012

Copy link to clipboard

Copied

When I do that, it changes my path.

In the attached screenshot, the first "hook" path is the original and the second is after I click the first point and "Set First Vertex"

https://img.skitch.com/20120322-r9wmrpbk29fg3wx59542fk28ij.jpg

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 ,
Mar 22, 2012 Mar 22, 2012

Copy link to clipboard

Copied

Have you made sure the path is actually treated as a nopen path. Check that by once more referring to the menu I mentioned...

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
Explorer ,
Mar 22, 2012 Mar 22, 2012

Copy link to clipboard

Copied

I'm pretty sure it is (see attached image). If I click "Closed" from the menu, then it closes the path...so I assume that it's open based on the menu.

https://img.skitch.com/20120322-kh9cqp1272w4mptjtut73adsjp.jpg

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 ,
Mar 22, 2012 Mar 22, 2012

Copy link to clipboard

Copied

Actually I was thinking in wrong terms here. AE doesn't actualyl reverse the direction at all. Still, there's hope: http://aescripts.com/reversemaskpath/

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
Explorer ,
Mar 22, 2012 Mar 22, 2012

Copy link to clipboard

Copied

Hmmm, that only works on mask paths (I'm using Shape Layers). Though seems I might have to conver these to masks if I want it to work...

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
New Here ,
Dec 28, 2020 Dec 28, 2020

Copy link to clipboard

Copied

VERY GOOD Scripts THKS !!!!

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 06, 2016 May 06, 2016

Copy link to clipboard

Copied

Can't see your screen shot for some reason.  Have tried using the Teme-Reverse Keyframes command?

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
New Here ,
Sep 14, 2023 Sep 14, 2023

Copy link to clipboard

Copied

Anyone looking at this 11 years later... If you set the Path to Closed before sleceting the "Set First Vertex" you can then select all and uncheck closed to preseve the path as it was.

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
New Here ,
Oct 26, 2023 Oct 26, 2023

Copy link to clipboard

Copied

LATEST

thank God you save me ❤️

thank you so much

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
Contributor ,
Feb 17, 2016 Feb 17, 2016

Copy link to clipboard

Copied

This a CC wide problem of Adobe not treating vector graphics in the way other hardcore vector graphics software does. Every Path has to have a direction in which it's drawn, and all vector aware software should be able to change the direction. In Ai its confusing to have both path direction (which seems to be exclusive for Ai and doe not effect pasted masks as you have discovered), and a Odd/Even fill option (called Fill Toggle in classic computer graphics terminology). A compound path should make use of the directions to decide whether a path results in a Fill or a 'Hole'.

I remember that in early versions of Ae ther was an option to change the direction of paths, but maybe that's not true. Let's request Adobe to (re)introduce the possibility!

featurerequests: Please make it possible to change the direction of a Mask Path in After Effects

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 ,
Feb 19, 2016 Feb 19, 2016

Copy link to clipboard

Copied

I agree, it's a long-needed feature.

However, here's a quick workaround when using Illustrator to edit the path: By connecting the two endpoints of a path, cutting the new line and deleting the two endpoints at the cut, somehow the path direction has changed. I then copy to AE and the path is being drawn in the correct direction.

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
New Here ,
May 06, 2016 May 06, 2016

Copy link to clipboard

Copied

2015 CC

selected all key > right click>keyframe assistant>Time-reverse keyframe

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
New Here ,
Aug 06, 2016 Aug 06, 2016

Copy link to clipboard

Copied

gin1211 wrote:

2015 CC

selected all key > right click>keyframe assistant>Time-reverse keyframe

This is exactly what I was looking for. 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
New Here ,
Feb 15, 2018 Feb 15, 2018

Copy link to clipboard

Copied

script for mask only ReverseMaskPath - aescripts.com

If u want to reverse path then

reverse path.JPG

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 ,
May 07, 2018 May 07, 2018

Copy link to clipboard

Copied

If you're designing your shape in illustrator, you can use the mirror tool to change the direction of the path.
If you're doing everything in Ae, I suggest you copy-paste in Ai, do the thing and paste back in Ae.

That fixed it for me when trying to morph two shapes that wouldn't behave properly.

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 ,
Dec 27, 2022 Dec 27, 2022

Copy link to clipboard

Copied

Wish I could edit.
What I call "mirror" is properly called the "Reflect" tool, shortcut "O".

lsalvioni_0-1672138005712.png

 

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
New Here ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

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
Contributor ,
Apr 01, 2020 Apr 01, 2020

Copy link to clipboard

Copied

Just so that other people can find this solution as well:

If you need to reverse your path direction you can also copy the path to illustrator. Reverse the path direction, then copy it back. This Actually reverses the path direction and isn't a trick that works just in the case you want to animate something onto the path. 

If you want to know Why you might need this, one example is morphing from one shape to another. Often shapes were drawn in different directions. So you need to reverse only One of them. And that will work. Another tip there is also making the start point for both shapes in a similar spot. if you're moving from a "T" to an "S" them use something like the buttom left corner of both as the start point. That helps ensure slightly less overlapping as the paths move from one to another. And you'll have to make sure you're paths are drawn in the same direction. But it's a letter, how are you to know? 

 

So since there's no tool to control One paths' direction in AE, then just copy it over to AI, reverse it, and come right back. Works for shape layers And masks. 

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
New Here ,
May 19, 2021 May 19, 2021

Copy link to clipboard

Copied

Thank you so much, This is the actual answer to this question

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 ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

test 1 face profile turn.gifAwesome! That is exactly the solution I needed.
I'm working on a face rig and wanted to copy the left profile to the right profile, on another keyframe.
So basically I copied it and mirrored it by hand. The ensuing morph from a front view — as I expected — completely flipped the line vertices around. So I went looking for a way to somehow reverse paths for this keyframe alone.
This solved it. I'll be needing this solution plenty more. 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
New Here ,
Jun 15, 2021 Jun 15, 2021

Copy link to clipboard

Copied

If you're using a script like time*200(or whatever # speed) to make your path animate under path option->first margin you can put negative time and it will animate the path in the opposite direction.

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
Contributor ,
Jun 15, 2021 Jun 15, 2021

Copy link to clipboard

Copied

You're thinking too simplistically. A path, in after effects can be a compound path. So when someone says path in AE, it's not the same as in illustrator. It could mean multiple paths, as one path definition. You can have 18 open lines as "the path." 5 of those lines could be reversed, where the other 13 aren't. 

So you can't just put a negative number to make the path switched, because that changes the Entire path, meaning all 18 lines in that example. There is also a reverse path direction on shape layers in after effects, but you've got the same problem. If those paths need to be treated as one path, for something like a shape morph, then the direction of those are important.

 

Instead, copy the lines, paste them in illustrator. I suggest adding an arrowhead to one end so you can preview direction easier. Then select the reversed lines there, reverse the direction. Then copy the paths, come back to AE select the paths and hit paste to replace them. 

This also works for closed paths of course, but it's more difficult to see the direction in illustrator. 

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