Proximity Wiggle Position
Layer wiggles only when near another layer, creating localized chaos.
Code
threshold = 200;
targetLayer = thisComp.layer("Target");
d = length(position, targetLayer.position);
if (d < threshold) {
wiggle(3,30);
} else {
value;
}
proximity effectwigglepositionanimation
How to Use
Apply to Position. The layer wiggles if it's within the threshold distance of 'Target'; otherwise, it remains still. Perfect for reactive interactions.