Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Anchors Point is lock!

  • Anchors Point is lock!

    Posted by Nikola Morin on May 17, 2022 at 2:23 pm

    Hi!
    i have a problem here and don’t know how to solve it!

    i locked my anchors point whith this expression:

    a = thisLayer.sourceRectAtTime(time);

    t = a.top;

    l = a.left;

    w = a.width;

    h =a.height;

    [l+w, t+h]

    So when i’m writting the text goes up instead of going down, what i wanted.
    But if i want to animate my text with an animator for example and i want to make my texte go from down to up…it does’nt work because of the locked anchors point. so how could can i have both anchor point lock in bottom right and make my animation from bottom of the screen to top of the screen???

    Thank you very much

    Adam Greenberg replied 2 years, 6 months ago 2 Members · 6 Replies
  • 6 Replies
  • Adam Greenberg

    May 17, 2022 at 4:09 pm

    um, it would be nice to know how you want to animate your text exactly, so forget your locked anchor points for a moment and maybe show us.

    Also the second work around is to have your text build up with a different expression that doesn’t require you to lock your anchor point. But I’d need to see your animation to fully understand before I can suggest for sure.

  • Nikola Morin

    May 17, 2022 at 6:19 pm

    Ok Let’s start over would you!
    I joined a GIF of the animation that i want.

    (if it not working https://www.dropbox.com/s/vjuisd8vp1hh3v7/Texte_Alignement_DROITE.gif?dl=0)

    My text should animate like that!
    BUT…. there’s now that going to be more complex.
    This projet is a TEMPLATE. So when the editor will write a TITLE and if it’s a long title, the text MUST go UP and not DOWN like it use to do. I don,t want to see the title ON the sub title. IT MUST TO GO UP. Also the editor have the choice to shut down the seconde title. So the title take HIS place. No big GAP between the TITLE and the SEASON.

    HOPE this is more easy to understand!

    Thank you very much Adam!

  • Adam Greenberg

    May 17, 2022 at 6:54 pm

    so i think the main change would be to put the expression that makes the text build upwards on a null. or can you post the project so i can see how the text animation is built, maybe i can do a change for you, ( a smaller version of you project with tjust that composition in it )

  • Nikola Morin

    May 17, 2022 at 7:08 pm
  • Adam Greenberg

    May 17, 2022 at 7:18 pm

    but that project is working exactly as you want isnt it ? so what needs to be changed

    for the subtitle, thats easy, you just have to put an if else statement on the season, so if the subtitle is not active, it will move up a certain amount of pixels.

    like this ( see enclosed project )

  • Adam Greenberg

    May 18, 2022 at 3:47 pm

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