-
Layer re-order based on z position
Hey everyone,
I work with After Effects a bunch, and I’ve always got layers in 3d space and I’d usually like their layer order in the composition to more or less match their position. So the further away something is, the further down the layer will be ordered in the composition timeline window. Those of you who work with Adjustment layers and 3d will know why this is important. Adjustment layers don’t care where a layer sits in 3d space, only the order in the timeline, so if your depth and timeline don’t match, it causes situations where something that is further away is shown to be in front of something that is nearer. It looks weird.
Usually, I will manually go through the layers and re-order them by hand, but I work with lots of layers sometimes and this grows tedious. Does anyone know a way to re-order layers in the timeline so that it matches their position automatically? Maybe an expression?
Thanks in advance.