Skip to main content
melbendi
Inspiring
February 28, 2024
Answered

Select all layers with selected objects?

  • February 28, 2024
  • 2 replies
  • 2508 views

I have a file with a gazzillion layers, and I'd like to arrange the layers in a logical fashion to bring into After Effects to animate.  Specifically, I want to sort the layers according to the location of it's contents on the canvas, with all layers containing objects toward the bottom of the canvas arranged toward the bottom of the layers list.  Ideally, I would like to be able to box-select the bottom fifth of the canvas to select all the layers to drag them down the list, but of course this only selects the objects on the layers and not the layers themselves.  Is there any way to convert a selection of objects into a selection of their layers?  Thanks!
Update - This time when I selected the layers with the little boxes, it didn't deselect the objects, so at least I can use this information to help me know the right layers to select. But I'll leave the question open in case there's a better way. Thanks!

This topic has been closed for replies.
Correct answer Kurt Gold

Here's a simple file to demonstrate what I mean.  The first image shows the result of box-selecting multiple items on the artboard.  As you can see, many objects, but only one layer, can be selected this way.  The second image shows what I was hoping could be accomplished with a command or script:  All layers with selected objected are highlighted.  This has to be done manually, click by click, in the Layers panel, as far as i know.  Which is what I did to accomplish the task, but if there's a script or something, it would be handy for next time.


Probably I'm wrong, but as per your description it is more than clear what you want to do: Select a certain number of objects on the scratch area that are located on different layers. Expected result: Each layer that is involved in that selection should be highlighted in the Layers panel for various reasons. Is that right so far?

 

If so, that is not possible at the moment and I doubt that you can do it with a script. It's a valid request, though.

2 replies

pixxxelschubser
Brainiac
February 28, 2024

If I understand you correctly, you select "some" objects on the canvas.


Then open your layers panel.
In the layers panel you will see different "selection squares" - small and large.
Create a new layer and name it.
Click on the small selection square of the "old layer" and hold down the mouse button. Now move this small selection square directly upwards (or downwards) to the new layer in the layers panel.

All selected objects are now on the newly created layer.

 

Is this what you wanted?

 

---------------------------

 

Conversely, if nothing is selected, click on the area next to the small circle in the desired layer (where the selection square is located) and everything on the layer that is not invisible or locked will be automatically selected.

melbendi
melbendiAuthor
Inspiring
February 28, 2024

No, that's not it, but thank you.  I'm just looking to sort layers while keeping the objects on the layers they're already on.  Just to drag layers up and down the Layers panel to sort them, not to drag objects between layers.

melbendi
melbendiAuthor
Inspiring
February 29, 2024

Probably I'm wrong, but as per your description it is more than clear what you want to do: Select a certain number of objects on the scratch area that are located on different layers. Expected result: Each layer that is involved in that selection should be highlighted in the Layers panel for various reasons. Is that right so far?

 

If so, that is not possible at the moment and I doubt that you can do it with a script. It's a valid request, though.


Yes, that's it.  I often have files with many many layers that I need to organize in certain ways to make them easier to animate in After Effects.  I didn't think it was possible but asked because sometimes I find that at some point a feature was added that could make my work easier, so it never hurts to ask. 

Monika Gause
Brainiac
February 28, 2024

Are you referring to highlighting the layers in the layers panel?

For me that is happening when I yelect something on the artboard.

melbendi
melbendiAuthor
Inspiring
February 28, 2024

Only one layer highlights for me.  So if I drag a selection box around twenty items on different layers, only one layer is highlighted.

melbendi
melbendiAuthor
Inspiring
February 28, 2024

I did it using the little selected object indicator boxes in the Layers panel to help me know what layers to grab, but I wish there was a feature to select layers from the artboard. What a time saver it would be.