


Animate faster and easier using the Properties panel.


Precomposing, nesting, and pre-rendering.Light and Camera Extraction from 3D Models (Beta).Import 3D models from Creative Cloud Libraries (Beta).Also, notice how when I apply syntax highlighting by showing this code how an editor would see it, the "var" text is a different color letting you easily see what your variables are. Also, you don't have to write "var" before each of your variables, but it's good practice for clarity, and is technically the proper way to write code when declaring variables. Value will take the existing value, so you're telling AE to not touch your child dots' x=positions, and only alter the y-positions. You don't have to declare a variable of x, you could just write "value" in the x position of the array, but this is cleaner. You can easily fix this by writing this as your final few lines. Which means it's going the position is going to be the same for X as it is for Y. Position is an array, so it wants an value returned to it.īy not providing a specific array you're having your expression "p.position.valueAtTime(t) " actually feed AE this data: Then you can apply the master's keyframes just to the Y-Position, then apply the expressions to the children's Y-Positions, and your current expression should work.Īlternatively, the reason you're getting an error is because you're not feeding AE what it needs. You can separate your child dots position dimensions by right-clicking on "Position" and choosing the command.
