on Jul 18, 2017 at 9:00:48 pm Last Edited By Jonathan Moxness on Jul 19, 2017 at 8:45:07 pm
I'm creating a fighting-game style health-bar element that moves based on keyframes (input manually) of a Null Slider Control layer. What I want is when said Main Bar moves, a Red Health Bar layer behind it remains stationary for about 30 frames, then fades out to 0 opacity. Then the next time the Main Bar moves, the Red Health Bar (or a duplicate Red Health Bar) is at the Main Bar's previous position, remains stationary for about 30 frames, then fades out to 0 opacity, etc. etc.
I've figured out how to get the Red Health Bar's opacity keyframes to start in time with the last keyframe of the Slider Control layer using this expression: