[AE]ポジション(位置)の一部を参照するエクスプレッション

親子関係では移動が不都合なときとか。

///

var x = thisProperty[0];
var y = thisComp.layer(“参照したいレイヤー名”).transform.position[1];
var z = thisComp.layer(“参照したいレイヤー名”).transform.position[2];
[x,y,z];

///

yとzの値だけを他のレイヤーと同期させたかったのでこうなりました。

transform.position[0] 位置xの値
transform.position[1] 位置yの値
transform.position[2] 位置zの値

です。

動かしたくない値は
thisProperty[0]
thisProperty[1]
thisProperty[2]
を当て込めばok

コメントを残す

メールアドレスが公開されることはありません。