In this tutorial, I’m going to show you how to control the speed of your animation in and and animation out, as well as the duration of your overall animation with a very cool and powerful expression that can be used on literally any kind of animation.
Project file: https://www.patreon.com/7MinuteAETuto...
Join TODAY: / @7minuteaetutorials
Become a Patron: / 7minuteaetutorials
Make a difference: https://paypal.me/jeffknight713?count...
7 Minute AE Store: https://7-minute-ae-tutorials.mysprea...
Subscribe: / 7minuteaetutorials
Click the BELL so you're notified every time I upload new content!
Share this video: • Use MARKERS to CONTROL ANIMATIONS in ...
"The Power of Shape Layers" on Udemy: https://www.udemy.com/course/power-of...
Expression
var start = thisLayer.inPoint;
var markerIn = thisLayer.marker.key(1).time;
var markerOut = thisLayer.marker.key(2).time;
var end = thisLayer.outPoint;
if (marker.numkeys = 1){
m=marker.nearestKey(time).index;
tag=marker.key(m).comment;
if (tag == "IN") { linear(time, start, markerIn, 0, 1)}
else if (tag =="OUT") {linear(time, markerOut, end, 2, 3)}
}
Instagram: / 7minuteae_jeffknight
TikTok: / 7minuteaetutorials
Facebook: / 7minuteaetutorials
Check out our affiliates for amazing deals on After Effects Essentials!
Envato Elements: https://1.envato.market/c/2492339/138...
AEJuice Free Plugins https://aejuice.com/free-plugins/?ref...
AEJuice I Want It All Bundle https://aejuice.com/product/i-want-it...
AEJuice YouTube Channel / @aejuice
Tutorial Table of Contents
00:00 - What you’ll learn!
00:43 - Overview
01:15 - Example 1: Add markers
02:18 - Add Time Remap code
02:59 - Code breakdown and analysis
05:06 - Check out the results!
05:45 - Save as an Animation Preset
06:03 - Example 2: Add markers
06:29 - Add our Animation Preset
06:55 - Adjust the code to fit our animation
07:19 - Check out the results!
07:37 - Summary
08:06 - AE Juice promo
09:38 - Outro
Thanks for watching, and I'll see you next time!