• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Animate position from sourcRectAtTime().height value to 0?

Explorer ,
Jun 15, 2020 Jun 15, 2020

Copy link to clipboard

Copied

I'm building a .mogrt template that has text boxes which animate on from behind an alpha matte. The text boxes will change size based on how much text is in them. I know there must be a clever way to use expressions to position the boxes upward by exactly their own height and then have them stop exactly at 0? I suspect this would use sourceRectAtTime().height and Key, but can't figure out how to pass this height value to the starting keyframe. Thanks!

TOPICS
Expressions

Views

166

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 15, 2020 Jun 15, 2020

Copy link to clipboard

Copied

LATEST

sourceRectAtTime(key(1).time).height and the rest is just a matter of interpolating it with a linear() or whatever based on actual time.

 

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines