Skip to main content
Inspiring
Feb 19, 2024 5:53 AM UTC
Question

Order of Property Selection in After Effects 2024 24.2

Are the properties within the same layer not arrayed in the order they are manually selected? For instance, I selected position, scale, and rotation in a text layer. However, after executing this script in After Effects 20204 24.2,

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

var comp = app.project.activeItem;
var selectedProps = comp.selectedProperties;
alert(selectedProps[0].name);

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

the [0] part is scale instead of position.

This is also the happen when box selecting .

 

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
Feb 20, 2024 5:48 AM UTC
Is there any way to manually sort properties in an array based on the selection order via script?

 

Translate
Dan Ebberts
Community Expert
Community Expert
Feb 19, 2024 8:14 AM UTC

I think that works for selected layers but not properties.

Translate