ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Add extra height

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Frank Bemthuis
Add extra height
on Oct 1, 2018 at 3:26:33 pm


I'm having some trouble with just a really plain solution.

I have 1 shape layer with 2 rectangle's in it.
1- a filled box, which determines the size
2- a line-only box, which is a little bit off in position

I want the line-only box (let's call it "box line") to be the same size as the filled box (let's call that one "box filled")+ some extra width and height..
That's not that hard I though, like very basic stuff. So I parented the size of "box line" to "box filled" and added '+100'

But... it only added some to the width. And as you already guessed, I wanted some extra to the height too!
The most simple thing, adding a comma and another value, yeah... that didn't work.

So, how do I fix some extra height too?

PS. Call me a rookie all you want - because the answer maybe be very simple I guess- but that 'size' only reacts to the width doesn't seem very logic to me to be honest.

content("box filled").content("Rectangle Path 1").size+100

Return to posts index

Dan Ebberts
Re: Add extra height
on Oct 1, 2018 at 3:36:44 pm

Try it this way:

content("box filled").content("Rectangle Path 1").size + [100,100]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved