Quantcast
Channel: Adobe Community : Popular Discussions - After Effects Expressions
Browsing all 47983 articles
Browse latest View live

need expresion to change opacity

Help, I'm creating a radar for a class project and I'd like the opacity of my "plane" layer to change whenever the radar "sweep" makes contact.  I guess that would be a collision detection?  Basically,...

View Article


Expression to limit tracking data

Hello,  Is there an expression to limit the scale of tracking data.  In other words, I would like to take tracking data and reduce the size, so if I track my hand and it moves 10 inches up or down, I...

View Article


Math.pow(Math.E, time)

Hi folks! The expression "Math.pow( Math.E, time )" keeps giving me a "divide by zero" error. This seems to be similar to problems others have had, but the other solutions don't quite work in my case,...

View Article

Image may be NSFW.
Clik here to view.

Orient to Camera Plus

Is there a way to keep a 3d layer always square to the camera, without any rotation? Normal 'Orient to camera' rotates the layers wildly. I want to achieve the look of the "Parallel to Cam Always"...

View Article

Help with 3D Layer Position Expression

Hi All, I do hope some one can help me – I have been looking and trying to solve this expression problem I have run in to - I only have limited expression knowledge. I need to move a layer in 3D space,...

View Article


Access Properties of a Layer Inside a Precomp

First time visiting these forums but they look like a super helpful place so any response is awesome. I'm trying to save myself some headache by creating one animation ("CircleIcon") and then using it...

View Article

Linking a 2D layer to a 3D layer

Ok, i've come to my limitation of expression skills. I've setuped a 3D composition, with various elements at various depths. One of this element is a Sun. I setuped a camera to do a pan inside my 3D...

View Article

Layer Space Transforms and Size

Hi, I have a 2D layer following a 3D layer using toComp in an expression, and its working really well. However, when the 3D layer gets closer to the camera, it appears as if its bigger, and I'd like...

View Article


Checkbox Control using Expressions

Hi all, I'm trying to control the Mask Layer property in the Colorama plugin to always select the current layer. What I've done is created a Checkbox Control effect on the current layer to dictate that...

View Article


Appending a "%" to numbers from a string

I have an expression that is working in animating a percentage based on a slider control. n=thisComp.layer("Null 1").effect("Pie Slice 2")("Slider") nRound=Math.round(n*10)/10; check = nRound % 1 if...

View Article

Interpolating between Shape/Mask Paths

Hi, At 1:48 in this video, http://vimeo.com/36068222, this animator has the character's face moving horizontally by animating a mask. Looks pretty easy to do. What I'm wondering, is whether it's...

View Article

Can't quite wrap my head around loopOut() ???

So at first I was confused and not sure if my next loop started immediatly upon the same frame as my last keyframe, or on the next frame after it? I've set up some simple expeiments and I'm pretty sure...

View Article

How to get relative position of layer in larger precomp.

The Setup: Comp 1 is 2000x3000 pixels. Comp 1 contains Layer X that is positioned at 1750,1250. (or whatever) I pull Comp 1 into Comp 2 which is 800x600. I scale and move Comp 1 inside Comp 2 by an...

View Article


Expressions and Parents

I'm trying to create an expression that takes as its input the position of a layer in an animation. However, that layer is tracked to a null which is animated, rendering the...

View Article

Cancelling parent scaling in child

Any tips on getting a child to cancel out the scaling of its parent?  The parent in this case scales X and Y differently, And I can't figure out how to anti-scale the child so it doesn't stretch. On...

View Article


Settings that affect sampleImage()

I have a script that uses sampleImage to find whether there is any visible content within the composition (the script adds a layer and applys sampleImage to it). Somebody who is using the script is...

View Article

Parsing number text string to numeric value

If I have the number "5" as a text layer, how can I get another text layer to read that number, and then add another number to it? This gives me "56". I want "11". temp =...

View Article


Image may be NSFW.
Clik here to view.

Full auto-orient via expression

Hi! I'd like a 3D Null to get the orientation of 3D a layer. (without parenting, it would be too easy ) I've tried a lot of solutions, through orientation, rotations, both combined... some results are...

View Article

Expression to control speed with the option to stop?

I made a simple animation with an expression to move a layer at a constant speed. With the Separate XYZ effect I used the expression time*120 on the X position. (120 is linked to a slider control but...

View Article

Changing speed of a Quicktime layer based on speed of another layer

Hi everyone- I'm new to expressions.I'm trying to alter the speed of a layer of a quicktime movie. The speed at which it plays should reflect the velocity of another object. The faster that object...

View Article
Browsing all 47983 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>