Sin(time)*200; mathsin you’ve just written your first expression in after effects! But what does math.sin(time)*200 mean ? Don’t panic about the math; you simply told after effects to animate the y position property for you using a math.sin trigonometric function. Between the brackets you have indicated the so-called arguments . I.e. Parameters that control the function and therefore the final result. In this case you have specified to after effects that time moves the ball . By an amplitude equal to 200 px (so the ball will go up and down by +200 and -200 px) as time passes.
Upper and lower case can
Scripting-options how to make a loop
At the end of the expression remember (even if in some cases it is not EJ Leads necessary) to include the semicolon (;) to control the appearance (color . Font and indentation) of after effects expressions go to the preferences menu ( edit or modify > scripting ). Scripting-options how to make a loop in after effects with expressions looping (making an animation loop) is easy with the after effects loopout and loopin expressions . Create a simple animation with two keys . Like in the example you see; a simple circle that moves from left to right.