Expression selector 'thisComp' resolves to master property composition instead of text layer composition in V8 engine
0 reputation · 23 Aug 2025, 09:21 UTC
0 reputation · 23 Aug 2025, 09:21 UTC
Migrate a project that uses text layer expression selectors with master properties to the V8 JavaScript engine without breaking existing compositions.
The project relies on expression selectors that reference thisComp to access the containing composition's name or properties. In the legacy ExtendScript engine, thisComp inside an expression selector consistently resolves to the composition that contains the text layer. After switching to the V8 engine (default since After Effects 16.0), the same expression selector returns the composition of the master property instance when the text layer is used via master properties in other compositions. This behavior is not explicitly documented for the V8 engine and may vary between point releases (e.g., 23.x vs 24.x). The project setting expressionEngine applies globally; there is no per-expression override. The legacy engine is deprecated and disables multi-threaded evaluation.
thisComp binding in expression selectors under the V8 engine when master properties are involved?thisComp behavior for expression selectors?A thoughtful contribution can make all the difference. Be the first to share one.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.