Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Layer size and bounding box not in sync

  • Layer size and bounding box not in sync

  • Michael Mathes

    August 2, 2022 at 11:48 pm

    Hi,

    I have an expression that scales a layer based on its distance from another layer. The bounding box and the scale properties behave correctly but the layer doesn’t update, it stays the same size. Anybody know what might be going on here?

    I appreciate any help! Thanks.

  • Andrei Popa

    August 3, 2022 at 1:56 pm

    I am not sure I understand. You are saying that the scale, as value, seen in the timeline changes but the layer in the viewer stays the same? If so, does it have a parent? Maybe the parent size changes so the layer stays visually the same.

  • Michael Mathes

    August 3, 2022 at 3:17 pm

    I’ve attached a few images to better explain what going on. As you can see, the bounding box changes and so does the scale property values but the layer in the view port doesn’t change size at all. It isn’t parented, I tried purging all memory and cache, I tried a different image and tried pre-comping it, I restarted After Effects and I restarted my computer. Still the same.

    You can also see the expressions I am using in the images. Basically I have a preset I made that scales images depending on the settings, the setting I’m using scales it to a defined size. It’s that value that I’ve applied the expression to change depending on distance from the null layer. It all works, but it doesn’t…

  • Michael Mathes

    August 3, 2022 at 3:45 pm

    I figured out what the problem is. I had the distance from layer expression in a slider and was linking to that slider in my scale expression. When I applied that expression directly into my scale expression it works fine. Don’t ask me why… That’s what I get for unnecessary things! Thanks for the help.

Viewing 1 - 4 of 4 posts

Log in to reply.

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