ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Auto positionning an area of a layer according to a mask

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
julien desAuto positionning an area of a layer according to a mask
by on Nov 26, 2012 at 9:53:00 am

Hi all,
I'm pretty stuck with a feature I'd like to implement in a bunch of comps. I need to create a script for a 2D layer to automatically center and position in a master comp, one layer with a mask applied to it.

For instance :
My final is 1920x1080
I drag a layer that is 2500x4000 in this final comp.
I apply to this big layer a mask (whatever shape, but mostly square one), and the script would position this layer so that it is centered in the final comp. For now, I'm doing it manually, but since I got hundreds of comps to deal with, I'll appreciate some scripting hints here :)
Thx all !



Return to posts index

Vishesh AroraRe: Auto positionning an area of a layer according to a mask
by on Nov 26, 2012 at 10:51:47 am

julien

Post this Question in Adobe After Effects Expressions Forum .

Someone will definitely answer it.

Vishesh Arora
3D and Motion Graphics Artist
Films Rajendra

Blog:
http://digieffects.wordpress.com

Demo Reel(3D):







Return to posts index

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