Skip to main content
Inspiring
February 19, 2024
Question

Order of Property Selection in After Effects 2024 24.2

  • February 19, 2024
  • 2 replies
  • 465 views

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 has been closed for replies.

2 replies

Inspiring
February 20, 2024
Is there any way to manually sort properties in an array based on the selection order via script?

 

Dan Ebberts
Community Expert
Community Expert
February 19, 2024

I think that works for selected layers but not properties.