ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Expression persists after layer ends

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Alex Berger
Expression persists after layer ends
on Apr 7, 2019 at 8:48:14 pm
Last Edited By Alex Berger on Apr 7, 2019 at 10:16:36 pm

Hello,
I am proficient with After Effects, but not well-versed on expressions. I am using a loop ping-pong expression on the Y position to control my character via a null so it appears she is moving up and down slightly as she walks. The character reaches her X position, and there I have ended the null layer. However, the character continues to bounce up and down.

Is this a bug, or am I mistaken in the function of expressions? Shouldn't the expression cease to work after the layer has ended? How do I make the pingpong stop?

loopOut(type = "pingpong", numKeyframes = 0)


EDIT: I guess this is the way it's supposed to work. I figured out a workaround. After the character is supposed to stop, I split all the layers parented to the null and un-parented them. It seems that even if the layer with the expression isn't on the timeline, if the layer parented to it is, the expression still functions.


Return to posts index

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