Skip to main content

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
1 answer
230 views

Automated source text animation based on split

I have newly started in AE and I came across source text animation. I have a requirement where I want to show multiple text on source text keyframe animation. I was wondering instead of writing each ...
smpa01's user avatar
  • 121
1 vote
1 answer
210 views

how to Checkbox Control one item twice in after effect?

I have a checkbox for background and its items. , write the script if(thisComp.layer("Controller ").effect("Checkbox background ")("Checkbox")>0) {100} else {0}; it ...
joud desing's user avatar
1 vote
1 answer
63 views

Custom Animated Counter in Adobe After Effects

I'm trying to create a counter that automatically updates to the next value once per second. I have that part figured out: string = "7609,7758,7916,8063,8217,8382,8545,8701,8871,9049,9241,9386,9533,...
izaic3's user avatar
  • 11
1 vote
1 answer
43 views

How to link the start and pause of an animation to a specific height from a null object?

I'll try to explain a little bit more in-depth, I'm making a set of animations for a website and the client essentially wants a preview of how each element reacts to each other as you're scrolling ...
Lour's user avatar
  • 11
1 vote
2 answers
342 views

After Effects - Can Expressions read from Extend Script?

Backstory I'm trying to learn about After Effects' different abilities. Question If I make a function using extend script like so function alertStuff() { alert("stuff") } Can I call this ...
Jacksonkr's user avatar
  • 137
1 vote
2 answers
411 views

How to make flickering white spots and moving effects in After Effect

I want to know how to make those particle-like spots and you see the transparent effects and the fast moving text? I want to know what that effect is called and how to make it. Please help me!(Please ...
Dynal's user avatar
  • 11
1 vote
1 answer
326 views

using images as text characters in after effects

I've made a series of comps each representing a letter from the alphabet. Is there an expression or plugin where I can convert the relevant text character on screen to be replaced by the appropriate ...
tomh's user avatar
  • 7,933
1 vote
2 answers
410 views

How to translate face tracking offset values into a 3D null position

I want to put a 2D hat on a video clip of a person, whose head is tilting as he speaks. I can face-track the face using After Effects CC 2017. I end up with detailed tracking data, which includes ...
tomh's user avatar
  • 7,933
1 vote
1 answer
3k 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 ...
Flobin's user avatar
  • 113
1 vote
1 answer
3k 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 ...
user16421's user avatar
1 vote
1 answer
1k 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 ...
Martin Winged's user avatar
1 vote
1 answer
80 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 ...
Andrius's user avatar
  • 13
1 vote
0 answers
25 views

Use markers in After Effects as triggers for a random color animation

How to change the color of a layer randomly in markers?
leomiami's user avatar
1 vote
1 answer
39 views

Bringing layers forward or sending back with After Effects expressions

I have two solids right next to each other. At certain points in the timeline, I increase the scale of one or the other for emphasis. The problem is that one of the solids is located behind the ...
Mike Corrente's user avatar
1 vote
0 answers
10 views

Increasing Expression by Comp Index when access CSV File

I'm just wondering if someone can help me out. I'm getting error when trying to increase the location of the data in CSV by the composition index. Here's code I am using \\ var compIndex = parseInt(...
Ouchs's user avatar
  • 11
1 vote
0 answers
28 views

After Effects: Add a Null to a point of two path's intersection

I'm looking to position a null at the intersection of two paths. I'm creating a bending elbow rig with irregular shapes, and I wanted to be able to place something in the crease of the elbow as it ...
Mike's user avatar
  • 11
1 vote
1 answer
270 views

Making an After Effects layer follow another one at constant speed

I have the following expression on the position of a layer that makes it follow another layer(FollowNull). Basically, I set an initial position with a PointController and the expression does it's ...
JoaoB's user avatar
  • 11
1 vote
1 answer
121 views

After Effects expression using Index position isn't working between comps and shapes

I have many shapes that I want to reference to a single comp with a shape in it, in case I need to change them later on. The shapes are 2D and in different positions all over my canvas. I want to be ...
tomh's user avatar
  • 7,933
1 vote
1 answer
214 views

After Effects: Simulate Line Spacing Controls Across Multiple Text Layer Position Values

I have four separate text layers (each have custom expressions so must be separate instead of a single paragraph) and I wish to create a single slider control that simulates a line spacing control ...
Pierce Wilson's user avatar
1 vote
0 answers
44 views

Generate a sound wave in After Effects that changes colour over time via an expression

I'm trying to find a way to generate a sound wave animation where the colour of the wave being generated changes as the person speaking swaps over. I can do this with text just fine, and I have ...
tomh's user avatar
  • 7,933
1 vote
0 answers
33 views

Trigger on markers

Can someone please break down this small bit of code for me, at a highlevel. Particularly the part n=n-1, I haven't worked out why we minus 1 from the marker here. Thanks n = marker.nearestKey(...
James Woods's user avatar
1 vote
2 answers
230 views

After Effects: Detect point of intersection between two paths

I have two curves/paths (path A and B) and a null point A that follows path A with an arbitrary speed. I need a null point B that follows the path B but with a speed dependent to null point A x ...
mattia c's user avatar
1 vote
0 answers
93 views

After Effects: Moving Protected Areas from a parent compositions in time

I recently learned about the neat responsive design feature in after effects called "protected areas". While understanding the need and basic functionality of that feature, I am still ...
Marten Zander's user avatar
1 vote
0 answers
253 views

Adding Time offset to Marker expression

I have below expression on time-remap property which triggers transition based on the markers set on Action layer. Is it possible to add certain frames of pre-roll to this expression so if the maker ...
Maclad's user avatar
  • 11
1 vote
0 answers
26 views

How to write an expression for the following [Pop In object]?

Pop In object (@ 17s) I'm fairly new to Expressions, I'm trying to attain this effect with expressions. I tried using the inertial bounce code on the net n = 0; if (numKeys > 0){ n = nearestKey(...
Aravindh Vasu's user avatar
1 vote
1 answer
293 views

Detect duration of layer

I want to get the time / duration of the layer, when I stretch or lengthen the layer to produce an effect, for example I want the opacity of a layer to go to 0% 5 frames before the end of the layer, ...
manuel-ae's user avatar
1 vote
2 answers
148 views

How to change value when passing marker with certain comment

I wanted to change one value when marker with certain comment starts. I've tried something like this, but it doesn't work. if (marker.comment("R1 L1").time > time){ value = 40; }
mike's user avatar
  • 11
1 vote
1 answer
200 views

Does anyone know how to control the stroke width of a shape using a control layer?

I recently created the attached graphic in Illustrator for a project and am trying to figure out how to create something similar in After Effects perhaps using a control layer. The idea is that I want ...
Ross Aitken's user avatar
1 vote
1 answer
598 views

After effect using multiple linear expression based on its value

I am new to After Effects. I want to write a linear expression on [Audio Amplitude] that is converted from an audio file based on its value as the below: linear(value,0,15,0,0); linear(value,16,20,...
codeProtect's user avatar
1 vote
0 answers
22 views

Need helping creating dynamic lower third

I am new to After Effects so I apologize in advance for any misuse of terminology or lack of necessary information. Just let me know if you need anything and I can provide it. I am trying to create a ...
Austin Muller's user avatar
1 vote
0 answers
355 views

How to link multiple keys to different sliders in After Effects

I'm a newbie with After Effects expressions, I need help with link few keyframes to different sliders on Null. I found this expression and its work with 2 keypoints. if (numKeys > 1){ t1 = key(1)....
Manitopa's user avatar
1 vote
1 answer
231 views

Best way to create external alterable configuration file to be read by After Effects and Java

Background I'm trying to make an AE animation to visualize some data. Since the raw data I'm using comes in json files and needs to be parsed and analyzed to find useful statistics, I'm using a java ...
kviLL's user avatar
  • 111
1 vote
1 answer
484 views

AE: Limit Characters in random range selector animation

I'm animating a roulette table; above the roulette is an animated text with random numbers untill the winning numbers apears on the roulette table; but the random numbers are from 0-99; i've made it ...
Randy V's user avatar
  • 11
1 vote
0 answers
35 views

'Pin-art' effect in After effects

I'm looking for a way to create a 'Pin art toy' effect in after effects. Basically a load of extruded hexagons that can be pushed up and down by a shape behind them. Would be great if this could be ...
Airgiraffe's user avatar
1 vote
1 answer
258 views

Modify the scale depending on the order of the keyframe values

I want to make a Dorkly animation ( ), that is, 8-bit puppets opening and closing their mouths. The difference I want to add is when the mouth is open the puppet get ...
Ángel Molina López's user avatar
1 vote
1 answer
299 views

Marker animation trigger from parent composition

Is it possible to trigger animation from parent comp layer? I have been trying this expression with my basic coding skills but couldn't make it work. n = comp("myparentComp").layer("myLayer").marker....
Nicolas Nydegger's user avatar
1 vote
1 answer
251 views

After Effects: Detect if Lines are Intersecting

I have two lines (The lines are imaginary, i have two Nulls as endpoints for each line) I want a fifth Null two appear where the lines intersect. I have used this code so far: p1 = thisComp.layer("...
Walter's user avatar
  • 113
1 vote
0 answers
124 views

Is possible to pass variables from premiere to after effect compositions?

One of the latest features put inside AE & PR 2017 is the Live Text Edits.. In short you can mark an after effect composition as template and then all the texts inside that composition will be ...
user3450548's user avatar
  • 1,720
1 vote
2 answers
363 views

Adobe After Effects: Keying layers based on other layers

I have 4 video streams: a color stream A1 a black and white stream A2, representing the distance of objects in the color stream A1 a color stream B1 a black and white stream B2, representing the ...
rtytgat's user avatar
  • 111
1 vote
1 answer
2k 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 ...
Sean Proctor's user avatar
1 vote
0 answers
833 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? ...
auto's user avatar
  • 121
1 vote
0 answers
476 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 ...
user3625118's user avatar
0 votes
1 answer
606 views

After Effects: Make beam effect go over end/beginning

The beam effect is a plugin in AE in which I can basically decide a "beginning" or "ending"-coordinate and AE will draw a line between these two coordinates, the line can be customized but that ...
diatomym's user avatar
0 votes
1 answer
39 views

Is it possible to modify a single precomp instance via scripting?

The Setup - PreComp1 -- PreCompLayer1 --- simpleRectangleLayer - Main Timeline -- layer1 --- [PreComp1] -- layer2 --- [PreComp1] Question Using only scripting is it possible to modify the inside ...
Jacksonkr's user avatar
  • 137
0 votes
1 answer
471 views

Bounce effect is not working

I have applied 'bounce effect' following the rules. The first keyframe of scale was 0 and the second one was 100. but the scale gets bigger after second keyframe, increase its size. Why is this ...
Russian Blue's user avatar
0 votes
1 answer
2k views

After effects expression how to round DOWN or remove numbers after decimal point

Thought this would be simple but doesn't seem so. How can I remove all numbers after the decimal point in an expression, or round down to 0 decimal places (which is the same result) For instance I ...
AutoBaker's user avatar
  • 368
0 votes
1 answer
163 views

Is there a way to erase this white dot through 2 minutes of video?

I recorded a video explaining some complicated things, and when I looked on the big screen, the spotlight is reflecting off my nostril creating a shiny white dot which can be confused with the most ...
bandybabboon's user avatar
0 votes
1 answer
230 views

Please someone explain this expression

I am a newbie in animation and I am learning by watching different projects. And I found this expression, but I try to find information and I am not lucky. comp("Render Comp FHD").layer(&...
m16u31's user avatar
  • 1
0 votes
1 answer
62 views

How to using Math.round(easeOut(time…) in after affects?

I have a shape layer and I want to animate position x using this expression x=clamp(thisComp.layer("Control Values").effect("Value Bar 1")("Slider"),0,100); Math.round(...
joud desing's user avatar
0 votes
1 answer
583 views

AE Controller for changing layer into specific colours

I'm trying to create an Essential Graphic that allows the user to change a layer's colour into 4 specific ones: Teal: 7, 250, 198 Pink: 252, 12, 119 Black: 0, 0, 0 White: 255, 255, 255 Colour Control ...
Apeiron_Sound's user avatar