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

Self Resizing Shapes to Text (TikTok/Insta type text in After Effects)

Community Beginner ,
Nov 21, 2021 Nov 21, 2021

Copy link to clipboard

Copied

Hello! I have a shape layer, which auto-resizing to text, but in only one line and also with a change in height ( when typing long letters) which I don't need (screenshots 1,2). How can I make it look like in screenshot 3, maybe by changing or adding lines of code? Does anyone know how to solve this?

Screenshot1.jpgScreenshot 2.jpgScreenshot3.jpg

TOPICS
Expressions , How to , Scripting

Views

913

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
Contributor ,
Nov 21, 2021 Nov 21, 2021

Copy link to clipboard

Copied

Hello,

You can't create the white rectangles with different length for each lin with expression. You need to create it manually.
Perhaps you can set you have to Essential graphics, with the source text added as an adjustable property, so that you can at multiple instance of this same comp to a master comp with the ability to control the source text from the outside? That way, different line of text will have different length of width.

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
Contributor ,
Nov 21, 2021 Nov 21, 2021

Copy link to clipboard

Copied

Something like this. I've done an example file for you.
2021-11-22 07_47_59-.png

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
Community Beginner ,
Nov 21, 2021 Nov 21, 2021

Copy link to clipboard

Copied

Hello, Meng! Thank you for your response. "Simple Choker" is a great way to make it look right. Yes, I'm going to make a template for this further. But first I wanted to ask you about your example project, maybe I don’t understand something, but why I can’t edit text of the line?

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
Contributor ,
Nov 21, 2021 Nov 21, 2021

Copy link to clipboard

Copied

You need to press U twice to get to the master properties. And edit the text from the master properties. 

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
Community Expert ,
Nov 22, 2021 Nov 22, 2021

Copy link to clipboard

Copied

LATEST

If you don't mind using a separate text layer for each line, this tutorial might be useful

https://mamoworld.com/tutorials/how-merge-boxes-pins-boxes-ae-tip-5

(using Pins & Boxes)

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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