Expressions
Linear
Inverted Rounded Corners Rectangle
Get the number of layers in this comp
Move along the edges of the comp
Move in a square
Move in a circle
Determine Acceleration / Deceleration
Reset path location + ignore transforms
Scripting
Paint ScriptUI StaticText
Paint ScriptUI Panels & Groups
Refresh Panel or Group Graphics
Remove Children from ScriptUI Items
Get / Set Render Chime Preference
JSON functions for expressions
Modulate a number
Clamp Number Or Array of Numbers
Shift, Ctrl, Alt, Key Pressed functions
Contact Gumroad through ExtendScript
Get Project Items By Name
Separate Groups And Properties
Freeze Layer At Time
Filter Color Properties
lerp
Generate a random number
Mouse Object
Useful things to include in your ExtendScript file
True After Effects Color Picker
Dockable ScriptUI Panel
Check Current OS (Win / MacOS)
Smart Property Lookup
Check / Set JavaScript engine
Get the layer of the selected property
Return all existing effects on a layer

Copied!

September 13, 2020
After-Effects expression
Linear

Linear, in it's most basic form, takes 3 arguments and looks like this: linear(progress, from, to) ;

progress = a number between 0 to 1 determines how much to blend the values 'from' and 'to'.
from
- blend from this point (or number, or color, etc...)
to
- blend to this point (or number, or color, etc...)

Linear blends 'from' and 'to' and returns a new value. Exactly how much it blends between the two is dictated by 'progress'.
In the following interactive example, linear is applied to a position property. You can see how the result is a point between the 'from' point and the 'start' point. Exactly where is determined by the 'progress'.

Good Boy Ninja
75% OFF
EVERYTHING
USE CODE: WORLDEND
9
Days
99
Hours
99
Minutes
99
Seconds
Promo ends 30 Aug, 20:00 UTC
Solid Layer
Position
Expression

Linear(0, [0,0], [100,100])

Pricing
Make Money
Support
Blog