-
x and y expression
Hi,
I’ve been looking on the forum for an expression and the closest thing I could find are ones where the blur or opacity is affected by a layers z position.
I would like a layers opacity to be (example)100% when at the centre of the comp, and falloff as the layer nears the edges (moves around x and y) (a slider would be handy so the opacity near the edge could be modified, 25% or 0% etc).
A basic expression would be really helpful that could be modified and used for opacity or on a blur etc.
I was trying to set it up based on a toWorld(?) as it would be great if it was flexible to use in different sized projects.
(Also if z information is included that would be great too).Any suggestions would be appreciated.
Thanks
(Sorry if this has already been looked at in another post).