Copy link to clipboard
Copied
Hello,
So I'm currently making a graphic that animates text word by word but when there is one word it only appears half way through the animation. Is there anyway i could get it to always start with one word viable and then animate in?
Extra info;
I have the text animate using opacity where it goes from 0 to 100% within on frame. so the text pops in word by word.
If you need any more info im happy to give it.
Copy link to clipboard
Copied
Text animator Units can be based on either percent (as yours is) or index (which counts the number of items it's based on). You can change it in the Advanced group of the selector's properties it's right above the Based On property. If you started it at 1 instead of zero that would do what you want, but you would have to adapt each text animation.
You could probably also do it with an expression since it is possible to count the number of spaces to figure out the number of words in a text layer.
Copy link to clipboard
Copied
That was a great help, would you know what the expression would be or be able to point me in the right direction.
I'm looking to calculate the amount of spaces so that the end keyframe is always the number of words instead of a fixed number.
Copy link to clipboard
Copied
here's the expression I have come up with but it seems to just set the value for the offset as a whole instead of just keyframe 2.
text.animator("Animator 1").selector("Range Selector 1").offset
wordsCount = thisComp.layer("Rolling Text").text.sourceText.split(/ ,| | \./).length;
key(2).value[1] = wordsCount;
Copy link to clipboard
Copied
I would suggest creating a new post specifically looking for an expression to do this. There are a couple of people here on the forums like Dan Ebbets who specialize in them.