Examples
Basic text modification
Complete text styling
Text with positioning and expressions
Parameters
This function has no
composition parameter. It changes text layers named layerName in every composition of the project. The API rejects parameters that are not listed on this page.Values of
0, false, or an empty string are skipped, so they leave the layer as it is. For example, "applyFill": false does not turn the fill off, and "tracking": 0 does not reset tracking.Typography
Appearance
Fill color in multiple formats:
- RGB arrays of exactly three numbers:
[1,1,1](0-1 range) or[255,255,255](0-255 range) - Hex strings:
#ffffffor#fff
Stroke color in multiple formats:
- RGB arrays of exactly three numbers:
[1,1,1](0-1 range) or[255,255,255](0-255 range) - Hex strings:
#ffffffor#fff
Layout
Content
Name of the text layer to modify. Pass an array of names to change several layers.

