-
Expression to a change layer’s position depending on direction of Parent
I’m building a modular Menu UI in After Effects but I’m having trouble figuring out how to write the expression for part of it. I’ve included a GIF mock-up of what I’m trying to attempt to give some clarity.
Specifically, I have a list and a header and when you scroll down the list the header slides up out of frame. So far so good. However, my issue is bringing the header back as soon as you scroll up the list, and to match the speed of the list. In other words, if you scroll all the way to the bottom of the list and slowly scroll up, then the header starts reappearing immediately and at the same speed.
Hopefully, that makes sense. Any help or suggestions would be appreciated!