Questions tagged [after-effects-expressions]

A script used to set a property value for a layer in an After Effects composition.

Filter by
Sorted by
Tagged with
1
vote
1answer
764 views

Link audio to opacity effect of an image in After Effects

I have 3 audio files from a podcast. 1 file from Steve, one from john, and the other is from me. I have a composition with the three audio files and also 3 png images of our faces, one for each of ...
2
votes
1answer
357 views

How to import 2D position data into After Effects

If I have a .csv file of x / y coordinates, representing positional data of an object in an animation, what's the easiest way to apply that to a 2D null in After Effects? Eg: Frame,Xpos,Ypos 1,33,...
2
votes
2answers
2k views

Parent Pick Whip Not Showed On Effect Transform Keyframing

I wanted to parent the effect transform expression to the tracking motion (null object) When I saw the tutorials.. it showed me to click and drag the pick whip, but on my after effects there are no ...
0
votes
1answer
58 views

What properties of After Effects project can be edited without opening the application itself

I found myself in position where I need to render 6(or more) layers in different order. For example in 1,2,3,4,5,6 then 4,2,1,3,5,6 and so on. Some of the layers blend with the former or later one. It ...
0
votes
2answers
3k views

Expression for inverse parenting on Y axis in after effects

I have a composition in After Effects (CS6) that contains 2 objects that are usually a set distance apart. I am looking for an expression or other method to automatically move one layer by the same ...
0
votes
1answer
457 views

Multiple expression controls in ONE FX controller

For the sake of a cleaner workspace is it possible to have multiple expression controls, such as slider controls, in the same FX control? Basically, instead of seeing "Slider Control" and "Slider ...
1
vote
1answer
997 views

After Effects Expression, layer not found or missing

I'm using a plugin called Duik 15 to rig a character to turn the right arm into an IK controller, and it has produced an expression that is unable to find one of my layers. I'm not sure why it's not ...
1
vote
1answer
2k views

How to loop outer glow layer style in After Effects?

I have a layer in After Effects to which I have applied an outer glow as a layer style. Ideally I would like the glow to turn off and on, in a loop, starting at a point in time and then stopping. Is ...
1
vote
0answers
610 views

Expressions: Data-generated After Effects Graphic using CSV file?

Is there a way to read a CSV file or spreadsheet containing dates in timecode in one column and data in another column, then use the time/date to pair with footage to display the corresponding data? ...
1
vote
1answer
2k views

After Effects: Linear Expression - going from value 1 to another value and then back to value 1

Essentially I am trying to get a position expression on a video layer (two dimensional) to go from 640, 360 (middle of the screen) to another value defined by an expression control and then back to ...
2
votes
2answers
2k views

Can an expression parse a text file or the expression of another property in After Effects?

I am going to have tons of layers use the same expression, but I need to be able to edit the expression later without having to edit it for every layer. I also can't simply have each layer's property ...
2
votes
1answer
255 views

Physics and Chemistry Animations in After Effects

Are there any plugins/physics simulation engines other than Newton that will be useful for creating Physics and Chemistry content in After Effects?? For example, if I have a requirement to create the ...
2
votes
1answer
49 views

changing this code to check for a collision from a specific layer

I got this code from motionscript and I would like to change it to check a specific layer instead of all the layers for a collision. Maybe within the function checklayers() and then there's the if ...
2
votes
1answer
2k views

After Effects: controlling slider in ExtendScript

I'm newbie in After Effects. I've learned how to control slider from expressions. Now I need to get value of slider in script (jsx/extendscript). How can I achieve that? I've tried (in *.jsx): var a =...
2
votes
1answer
123 views

Reveal entire layer in after effects with mask partial overlap

I'm looking for a way to reveal my entire layer when a portion of my mask covers the layer. I have a composition with multiple individual layers, that I want to reveal with a set matte. However lets ...
1
vote
1answer
524 views

How to automatically pull text out of a video

I am currently experimenting with after effects and premiere to see what sort of strange things they might be capable of and was hoping someone had some insight on an Idea I had. In this situation I ...
3
votes
1answer
2k views

Parenting a null causes unexpected results

I've built an arrow that is controlled by two nulls - one at the start point and one at the end point. Using some trigonometry in some expressions, it works. When I move the nulls, the arrow resizes ...
1
vote
1answer
710 views

How to get 'outer' composition's current time?

Suppose I've got 2 sequences, one named OUTER and one named INNER. Composition INNER is inside composition OUTER. INNER is shorter than OUTER and is placed in the middle of it's timeline. Inside INNER ...
3
votes
2answers
6k views

After Effects distance between two points

I have written an expression to get the distance between two points, but it does not work and I haven't a clue why. It's pretty simple: function findDistance(xa, xb, ya, yb) { return Math.sqrt( (...
5
votes
1answer
98 views

Evolving lines with mirror effect

I would like to create evolving lines similar to those in this sequence (starting at 0:28): I know how to reveal lines, but I struggle to make the line moving so ...
5
votes
1answer
4k views

After Effects: Increment a Variable over time

I have following problem: I am trying to tweak the speed of a Math.sin function. Therefore I need a variable that incerements over time with a combination of a keyframed speed variable. Sounds ...
1
vote
0answers
438 views

Overshoot expression: Consider variable text width

I have a lower third which resizes to the length of text. Now I want to make a overshoot effect. But.. I have no idea where to put the length of the text into the expression. This is expression ...
1
vote
1answer
63 views

Making a simple animated template for frequent slight changes

I've made an example version of a news video in After Effects that we will be altering weekly. The template might be used by less skilled people and I'd like to know what (if there are) ways to make ...
2
votes
1answer
1k views

How do I create this slide/bouncy effect in After Effects?

The news channel in my country is using a nice bouncy/slide effect. Now I'm trying to recreate that in After Effects. I tried many effects and expressions, Googled a lot and watched many tutorials. ...
2
votes
1answer
506 views

AE: Hide object after random time

So, I've a bunch of objects inside a composition and my ideia is the following: I want to create an expression in one of them that will change the opacity of that object to 0 after a random time. ...
2
votes
1answer
7k views

Parent a Position X from Particular World to it's own transform xPosition

I have a layer called Blue. I applied CC Particular World to a ShapeLayer with an animated separated X Position (with 3 keyframes). The thing is that the effect doesn't move along with the shape. So ...
6
votes
3answers
15k views

How to loop an animated mask?

I'm trying to make a loop from an animated mask, but each time I introduce my loop expression: loopOut (type="cycle", numKeyframes = 0), After Effects is telling me that: "Expression is deactivated,...
2
votes
1answer
167 views

After Effects: Images on whole pixel still blurry edges

I am jsut working on a new After Effects Project. I have a bunch of images I am working with and I just wondered, why the edges of images are so blurry. First I thought it might have something to do ...
3
votes
2answers
11k views

After Effects: Create an isometric/orthographic Camera

I know that its not possible to create an non-perspective camera in after effects. But I read about a way to fake the effect of an isometric camera in after effects. I just didn't find something ...
4
votes
1answer
7k views

After Effects: Parent a Camera's position to a Null-Object with specific Off-Set

I am just struggling with a simple expression thing I guess. I have a camera looking at an Object in 3D Space. Actually The Object is at [0,0,0]. The Camera's position is at [29,-1637,-2248]. What I ...
3
votes
1answer
7k views

How to Sync a Layer's Position, to a Layer in Another (Time Remapped) Comp

So we are making a 2D animation. We have character assets in PSD. We have a "Character" Comp which contains the following: "Eyes" Comp, "Mouth" Comp and "Body" Comp. "Body" has the 2-second walk-...
3
votes
2answers
3k views

Can you measure the width of a character in an AE expression?

I have a type effect that requires a couple of layers, one with the type, and another moving behind the letters as they appear (simulating the little text bubbles you get when typing on an iPhone). It'...
3
votes
1answer
91 views

Scripting - Where is the documentation for the Layer#Effects attribute?

I have been trying to make a script that will automatically apply an effect to the selected layer. So far, it looks like this: var myLayer = app.project.activeItem.selectedLayers[0]; I have seen ...
1
vote
1answer
34 views

Defining animation once, then repeating across a selection of shapes in a cascading manner?

I have a comp with 20 windows (for a building), that I want to animate in a cascading manner (i.e. windows 1 though 20) with half a second in between each window animates in. Is there a way for me to ...
4
votes
2answers
6k views

Any way to change properties of subcomp based on parent comp?

I have a dozen 'main' comps which have a bunch of nested comps. I need to create about 30 versions of each main comp, with different colors. The subcomps are animated shapes, which take their color ...
4
votes
1answer
2k views

Scaling “Stroke” Effect “Brush Size” while scaling composition?

I've got a 100x100px composition with a Mask containing a Stroke effect used to animate the drawing of a vector. The problem I'm having is when I drop this composition into a larger one and attempt to ...
3
votes
2answers
2k views

After Effects expression - define two positions, tween back and forth

So I want to do something simple: define two sets of coordinates (a "from" and a "to" position), along with a duration in frames. I want the animation to be executed, then reversed, and looped. I ...

1
2