Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression ease(time, inPoint …) With position.

  • Expression ease(time, inPoint …) With position.

    Posted by Magno Alves on March 10, 2019 at 4:18 pm

    Hi, first of all I thank you for your help.

    I have the following question: I want to create a movie credit where the text is always centered, but after it has been centralized, make a position animation on the y axis based on its own position.
    I tried the expression:

    ease (time, inPoint + 1, inPoint + 3, [sourceRectAtTime (). bottom], [sourceRectAtTime (). top]);

    Did not work.

    As I said beyond the movement I want the text to be centered but I could not integrate two expressions to stop this from working, to center I am using the expression:

    var w = thisComp.width;
    var h = thisComp.height;
    var w2 = w / 2;
    var h2 = h / 2 +50;
    [w2, h2]

    I am still new to After Effects expressions and again thanks for the help.

    //for animation in position on axis y
    ease (time, inPoint + 1, inPoint + 3, [sourceRectAtTime (). bottom], [sourceRectAtTime (). top]);

    //to centralize
    var w = thisComp.width;
    var h = thisComp.height;
    var w2 = w / 2;
    var h2 = h / 2 +50;
    [w2, h2]

    Magno Alves replied 7 years, 5 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy