-
need help scaling objects using 2 separate target objects
I have tried creating a target object that would create a scaling factor for all of the nulls seen in the image shown down below
I was able to create this using some code I scraped up from multiple different forums:target = thisComp.layer("Target"); dist = Math.floor( length(position, target.position) ); maxSize= 1000; minSize = 1; range = thisComp.layer("Target").effect("range")("Slider"); sensitivity = thisComp.layer("Target").effect("sensitivity")("Slider"); scle = linear(dist, range, sensitivity, maxSize, minSize);I have the code placed on all of the 44 null objects to scale in size.
my issue is, I would like to have another target object that can as well scale everything at the same time as the original. does anyone know away to create this type of transformation?