Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions After Effects Scripting – Check to see if layer has separated dimensions

  • After Effects Scripting – Check to see if layer has separated dimensions

    Posted by Kevin Snyder on May 11, 2022 at 8:57 pm

    What would be the correct way to create an If Else statement to check a layer for separate dimensions? The statement that I’m using now actually changes the layer’s position property, but I want to run two different functions based on the position separated dimensions property.

    Dan Ebberts
    replied 2 years ago
    2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    May 11, 2022 at 10:59 pm

    Like this, I think:

    if(myLayer.property("Transform").property("Position").dimensionsSeparated){

    // do something

    }else{

    // do something different

    }

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy