Skip to main content
Known Participant
January 8, 2026
Answered

Mauvais Ordre des calques

  • January 8, 2026
  • 1 reply
  • 107 views

Hi!
For some time now, every time I use the "align" function on multiple layers, the order in which they are arranged in the composition is not correct.
In the video below, I duplicate "LAYER1", then drag LAYER6 down.
By selecting LAYER1 to LAYER6, and then clicking on the vertical alignment option, the layers should be "distributed" in order within my composition. However, this is not the case...
Do you know why I'm having this issue, please?



Correct answer ShiveringCactus

The layer order I refer to is the timeline order.  This is me guessing based on experience but I think AE is processing this like this:

 

  • Get all vertical locations of layers from comp window
  • Calculate highest and lowest layers
  • Count how many layers to arrange
  • Divide distance between highest and lowest by number of layers.
  • Identify highest and lowest layers and remove from processing.
  • Select first timeline layer (from processing list) and set its position to first value.
  • Select second layer and repeat...

 

My guessing is based on how I would do this in code.  I'd make an array, so the values, remove the top and bottom, the process the array.

 

To test this suggestion, if you arrange your layers after duplicating, so layer 6 is at the bottom, layer 5 next and then use the align, does that place them in the order you wish?

1 reply

ShiveringCactus
Community Expert
Community Expert
January 8, 2026

I see your logic, but I think AE simply works from the top layer down when distributing layers (and a lot of other things too). 

Known Participant
January 8, 2026

What do you mean by "from top layer down"?
In the video, you can see that once the alignment is done, the layer distribution has no logic:
The LAYER that is at the top in the monitor is LAYER5, in 2nd position in the composition.

ShiveringCactus
Community Expert
ShiveringCactusCommunity ExpertCorrect answer
Community Expert
January 8, 2026

The layer order I refer to is the timeline order.  This is me guessing based on experience but I think AE is processing this like this:

 

  • Get all vertical locations of layers from comp window
  • Calculate highest and lowest layers
  • Count how many layers to arrange
  • Divide distance between highest and lowest by number of layers.
  • Identify highest and lowest layers and remove from processing.
  • Select first timeline layer (from processing list) and set its position to first value.
  • Select second layer and repeat...

 

My guessing is based on how I would do this in code.  I'd make an array, so the values, remove the top and bottom, the process the array.

 

To test this suggestion, if you arrange your layers after duplicating, so layer 6 is at the bottom, layer 5 next and then use the align, does that place them in the order you wish?