-
limit wiggle x and y separately
Hi everyone,
I want to apply a wiggle expression to a layer so it looks like the camera is shaking. To avoid the layer getting out of frame i have to zoom a little bit on the layer and clamp the wiggle results to the maximum and minimum x and y values before the layer gets out of frame. So i applyed this expression:
[clamp(863,1054,wiggle(8,70))[0],clamp(493,593,wiggle(8,70))[1]]
The problem is that while the x values are behaving as i expected, the y values are stuck to 0 and don’t change. Can somebody help me please?