-
Layer move up over first second and down over the last second of layer
Hello wonderful people! The topic is pretty self-explanatory. I’m looking for an expression that moves layer up 50px over the first second and move down 50px over the last second. I managed to get a similar effect for the opacity work but no luck with the position 🙁
Plz, help. Thank you!
fade = 1.5; fadeIn = (time - inPoint) / fade; fadeOut = (outPoint - time) / fade; if (time < inPoint + fade) { ease(fadeIn, 0, 1) * value; } else if (time > outPoint - fade) { ease(fadeOut, 0, 1) * value; } else { value; }