Expression in text layer

With this expression, you can use any other expressions written in the text layer. This is useful in cases where there are many layers that use a single expression. By changing the text in the text layer, the expression will be automatically changed in all layers that use this expression.

try{
TextLayer = Text; // Text layer in which will be spelled expression
expr = String(TextLayer.text.sourceText);
eval(expr)
}
catch(err){value}
Recommended Posts

Start typing and press Enter to search