ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Card Wipe effect - Static X,Y position based on different resolutions

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dustin Novacek
Card Wipe effect - Static X,Y position based on different resolutions
on Oct 4, 2019 at 8:12:11 pm

I am making myself some animated presets using the card wipe effect. I created the preset in a 1080p comp. But when I use the preset in a 1080x1920 or 1080x1080 comp then whatever I apply the preset to becomes off center. Is there a certain expression that I can apply to the X,Y position under "camera position" to keep it centered regardless of what size comp I am using?


Return to posts index

Tomas Bumbulevičius
Re: Card Wipe effect - Static X,Y position based on different resolutions
on Oct 6, 2019 at 9:12:36 am

Hey Dustin, try this, applying to XY position of effect:

x = thisComp.width / 2;
y = thisComp.height / 2;
[x,y]


Find out more:
After Effects Tutorials: motion design, expressions, scripting.
Boxer - Dynamic Text Boxes Template with a Live Preview


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]