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

Reverse pasted path direction?

Explorer ,
Mar 22, 2012 Mar 22, 2012

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
49.7K
Translate
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

Translate
LEGEND ,
Mar 22, 2012 Mar 22, 2012

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

Mylenium

Translate
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

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

Translate
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

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

Translate
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

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

Translate
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

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

Translate
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

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...

Translate
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

VERY GOOD Scripts THKS !!!!

Translate
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

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

Translate
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

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.

Translate
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

thank God you save me ❤️

thank you so much

Translate
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

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

Translate
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

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.

Translate
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

2015 CC

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

Translate
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

gin1211 wrote:

2015 CC

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

This is exactly what I was looking for. Thanks!

Translate
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 ,
Apr 02, 2024 Apr 02, 2024
LATEST

Love you man! Thanks a lot!

Translate
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

script for mask only ReverseMaskPath - aescripts.com

If u want to reverse path then

reverse path.JPG

Translate
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

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.

Translate
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

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

lsalvioni_0-1672138005712.png

 

Translate
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

Thanks!

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

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. 

Translate
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

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

Translate
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

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!

Translate
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

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.

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

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. 

Translate
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