Set text content and style
ae_set_textChange the string and character styling on a text layer in After Effects, including font, size, color, tracking, leading, and justification.
Instructions
Change the string and character styling on a text layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, project item id, or index. Omit for the active comp. | |
| font | No | PostScript name, e.g. 'Helvetica-Bold'. | |
| text | No | New string. Use \n for line breaks. | |
| color | No | Fill color. | |
| layer | No | Layer name or 1-based index. Omit to use the current selection. | |
| allCaps | No | ||
| leading | No | Line spacing in points. | |
| fontSize | No | ||
| tracking | No | ||
| strokeColor | No | Color as "#rrggbb", or [r, g, b] in 0-1 or 0-255. | |
| strokeWidth | No | ||
| justification | No |