thisComp.width + "x" + thisComp.height;
Reads the active composition’s width and height in pixels and outputs the resolution in a “1920×1080” format. Updates in real-time, so if you switch to a different comp size, the displayed resolution adjusts automatically.
Contributed by:
Add live resolution metadata to templates, manage multi-resolution deliverables, or debug responsive motion graphics.