(hasParent) ? parent.opacity : value;
The parent's opacity value acts as a multiplier for the child's
Constrain wiggle to One Dimension (X or Y). NOTE: Wiggles X dimension. For Y dimension only, change last line to [value[0],w[1]]
Scale a layer to fit a pixel width. Apply to scale property
How to use the Composition Width & Height expression to center and scale a layer
AfterEffects_Tricks
Get Β After Effects tips & tricksdelivered to your inbox