formatTextLayer
Modify an existing After Effects text layer by setting content, font, size, colors, stroke, tracking, leading, justification, and caps options in one call.
Instructions
Format an existing text layer: modify text content, font family/PostScript name, font size, fill/stroke colors, stroke width, tracking, leading, justification, allCaps/smallCaps
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | Font PostScript name (e.g. "ArialMT", "MicrosoftYaHei", "PingFangSC-Regular") | |
| text | No | New text content | |
| allCaps | No | All caps formatting | |
| leading | No | Line spacing / leading in points | |
| compName | No | Composition name (defaults to active comp) | |
| fontSize | No | Font size in pixels | |
| tracking | No | Tracking / character spacing (e.g. 50, -20) | |
| applyFill | No | Enable/disable fill color | |
| fillColor | No | RGB fill color [0-1, 0-1, 0-1] | |
| layerName | No | Layer name | |
| smallCaps | No | Small caps formatting | |
| layerIndex | No | Layer index (1-based) | |
| applyStroke | No | Enable/disable stroke | |
| strokeColor | No | RGB stroke color [0-1, 0-1, 0-1] | |
| strokeWidth | No | Stroke width in pixels | |
| justification | No | Paragraph justification (left, right, center, full) | |
| strokeOverFill | No | Whether stroke renders over fill |