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

can I change layer order ?

Community Beginner ,
Jun 08, 2015 Jun 08, 2015

Copy link to clipboard

Copied

Hi,

     First picture my project, I can't change layer(rotation_screen.png) order like second picture. Can I change layer order in my script?

     Thank you,

layer1.png

TOPICS
Scripting

Views

533

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

correct answers 1 Correct answer

Enthusiast , Jun 08, 2015 Jun 08, 2015

Here's an example. Check out the layer object methods in the scripting guide.

var activeItem = app.project.activeItem;

if (activeItem != null && activeItem instanceof CompItem) {

  activeItem.layer(2).moveToEnd();

}

Votes

Translate

Translate
Enthusiast ,
Jun 08, 2015 Jun 08, 2015

Copy link to clipboard

Copied

LATEST

Here's an example. Check out the layer object methods in the scripting guide.

var activeItem = app.project.activeItem;

if (activeItem != null && activeItem instanceof CompItem) {

  activeItem.layer(2).moveToEnd();

}

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