Skip to main content
Inspiring
Nov 10, 2023 7:39 AM UTC
Question

object misplaced after adding sourceRect expression

i'm literally gonna sulk and cry when this happens. please people. just tell me where's the wrong and what to do. i love attach things . i do respect the code/expression. but the inconsistency in the comp Panel is making me crazy. this happens a lot tho.. 

yes i'm a dumb in term of expression, just learning about it. i think expression is cool. so please educate me.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Mylenium
Legend
Nov 10, 2023 8:19 AM UTC

Check your group transforms and also the layer transforms. This happens if stuff isn't zeroed out properly and the outline of the shape suggests exactly that - you manually placed it before applying the expressions and the coordinates thus have an extra offset.

 

Mylenium

Translate
Inspiring
Nov 10, 2023 8:35 AM UTC

i'm curious, is there any script to make this happens? simple scriptlet which will zero out all property available to adjust

Translate
Community Expert
Nov 10, 2023 9:32 AM UTC

After you create the shape layer, press the U key twice. This will reveal all modified properties. You'll find transform properties for each shape. All you have to do is reset (zero) them all out.  

 

I don't know of a script that does it.

Translate