-
Reference this comp name in expression
I am trying to migrate a few key frame attributes to show up in a comp higher in my hierarchy, so I have been using expressions that link to sliders in higher comps.
comp(“Keyframed Comp”).layer(“This Comp”).effect(“Property”)(“Slider”)
It works fine, but I was just hoping to speed up my process a bit, is there a way to retrieve the name of the current comp as text? Right now, I have to change layer(“this comp”) every time I copy the expression in a new comp, but the layer I am referencing is always just the name of the current comp I am applying the expression to.