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

adobe Extend script help

New Here ,
Jul 15, 2021 Jul 15, 2021

Copy link to clipboard

Copied

Hi Friends,

 

please help me to get the layer type in adobe after effects adobe extend the script,

 

Regards

Senthuran

TOPICS
Scripting

Views

144

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 ,
Sep 27, 2021 Sep 27, 2021

Copy link to clipboard

Copied

LATEST

You compare it with instanceof

 

if(layer instanceof AVLayer){
    alert('avlayer');
}else if(layer instanceof CameraLayer){
    alert('cameralayer');
}else if(layer instanceof LightLayer){
    alert('lightlayer');
}

 

More info here: https://ae-scripting.docsforadobe.dev/layers/layer/

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