• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

Order of Property Selection in After Effects 2024 24.2

Contributor ,
Feb 18, 2024 Feb 18, 2024

Copy link to clipboard

Copied

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 .

 

02.png

TOPICS
Scripting

Views

174

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 19, 2024 Feb 19, 2024

Copy link to clipboard

Copied

I think that works for selected layers but not properties.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 19, 2024 Feb 19, 2024

Copy link to clipboard

Copied

LATEST
Is there any way to manually sort properties in an array based on the selection order via script?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines