-
Creating text animation .mogrt template
Hello everyone. I’d like to pick your brain please.
I want to create a .mogrt template that allows people to make a customizable text animation like this attached clip. My aim is when people type any words or sentences, the gray background box will expand automatically according to the length of the text, and the blue line animation will also follow the gray box – meaning X position movement distance will be the width of the gray box (hope this makes sense).
So far, I’ve managed to make the gray box to be automatically expanded based on the length of the text using “sourceRectAtTime” expression.
Now, I’m stuck at the next step which is to make the blue line move from the left end of the gray box to the right end. I’m assuming that I need to write some magical code in X position to make the moving distance to be the same length as the gray box width, but I have no idea what to do.
I attached a screenshots of the layers, keyframes and expressions for your reference.
I’m a beginner so I appreciate if you can guide me step by step with easy language. Thanks in advance!
Amy
