-
Parent Identify
Hi Awesome Peoples,
I m using a layer which has an expression on it. I want to use if else statement on position which can identify whether the layer is parented or not. If it is parented the expression will not work and take its original values flowing from parent else it will run expression. I m using below expression, it works fine when parented but gives an error when unparented and also wiggle expression don’t work.l=thisLayer;
If(parent.l=1){parent.transform.position[0]};
else{wiggle(1,10)};
[x,y];