Skip to main content
hobbesedits
Inspiring
May 13, 2023
Question

Text won't animated correctly around path

  • May 13, 2023
  • 2 replies
  • 1434 views

I'm trying to animate text to scroll along a path, specifically around the shape of rounded rectangle, by following a tutorial on YouTube. I wrote some text, drew a rounded rectangle around it to create a mask inside the layer then in path options chose "Mask 1". It looks fine when it's not moving. But in the tutorial I'm watching they say that you use the "First Margin" setting to animate the text going around the shape. When I change that value, or write an expression in it like "time * 200", the text doesn't move. In another video they suggested that you have to turn force alignment on to make it move. I tried that, but the animation doesn't work properly. It makes all the text smush up into a corner then reverse on itself (see gif below). Here are my settings. What am I doing wrong here?

 

The text I'm trying to animate (it's a placeholder QR code, the QR code itself is not the path, I drew an invisible rounded rectangle around it)

 

A gif of the problem

 

Thank you!

 

This topic has been closed for replies.

2 replies

Community Expert
May 14, 2023

I can't replicate the problem. Try using two text layers, left justified, instead of one layer. Try temporarily changing fonts. 

 

Apply this expression to the left margin to link them:

 

value + text.pathOption.firstMargin

 

hobbesedits
Inspiring
May 14, 2023

Thanks for the advice! I ended up trying again from scratch and it worked. Don't know why, but the bullet points in the text field seemed to be what was causing the problem. When I removed them it worked. Good to know that expression.

Mylenium
Legend
May 13, 2023

Looks like a bug. For the time being I'd simply link the right margin to the left margin so the offset is consistent.

 

Mylenium

hobbesedits
Inspiring
May 13, 2023

Thanks, how do I link the two? And I've restarted the program several times but the first margin value still isn't working. Any idea on how it could be fixed?