createTextLayer
Creates a 2D or 3D text layer in After Effects with font, size, colors, spacing, justification, 3D rotation, and effects for quick typography setup.
Instructions
Create a 2D or 3D text layer with comprehensive typography (font, size, fill/stroke colors, tracking, leading, justification, allCaps/smallCaps), 3D orientations, and direct effects list
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | Font PostScript name or family (e.g. "ArialMT", "MicrosoftYaHei", "PingFangSC-Regular") | |
| name | No | Layer name (defaults to text content) | |
| text | Yes | Text content to display | |
| color | No | Alias for fillColor [0-1, 0-1, 0-1] | |
| allCaps | No | Force all caps formatting | |
| effects | No | List of effects/plugins to immediately apply onto this text layer | |
| leading | No | Line spacing / leading in points | |
| compName | No | Composition name (defaults to active composition) | |
| fontSize | No | Font size in pixels (default: 50) | |
| isThreeD | No | Enable 3D layer switch (default: false) | |
| position | No | Layer position [x, y] or [x, y, z] | |
| tracking | No | Tracking / character spacing (e.g. 50, -20) | |
| applyFill | No | Enable/disable fill color (default: true) | |
| fillColor | No | RGB fill color [0-1, 0-1, 0-1] (e.g. [1, 1, 1] for white) | |
| rotationX | No | 3D X rotation in degrees | |
| rotationY | No | 3D Y rotation in degrees | |
| rotationZ | No | 3D Z rotation or 2D rotation in degrees | |
| smallCaps | No | Force small caps formatting | |
| applyStroke | No | Enable/disable stroke (default: false) | |
| orientation | No | 3D orientation [x, y, z] in degrees (for 3D text) | |
| strokeColor | No | RGB stroke color [0-1, 0-1, 0-1] | |
| strokeWidth | No | Stroke width in pixels (default: 1) | |
| justification | No | Paragraph justification (left, right, center, full) | |
| strokeOverFill | No | Render stroke over fill (default: false) |