Thank you for this reply. I will be able to use this method for a few other things in other projects but sadly not for the one referenced in this thread. They don’t have the ability to then orbit the center of the circle they’ve made, or adjust according to the radius if I change it. If it helps, the code embedded in the position of this layer is as such:
calibrate = effect("Position - Orbit Calibrate")("ADBE Slider Control-0001") / 57;
on_off = effect("Position - Orbit Direction")("ADBE Checkbox Control-0001");
d = effect("Position - Orbit Distance")("ADBE Slider Control-0001") * 15;
s = effect("Position - Orbit Speed")("ADBE Slider Control-0001") / 10;
try {
L = effect("Position - Orbit Target")("ADBE Layer Control-0001");
center = L.toWorld(L.anchorPoint);
} catch (err) {
center = value;
}
myTime = Math.max(0, time - inPoint);
if (on_off == 1) {
angle = (s * myTime * 2 * Math.PI) + calibrate;
} else {
angle = ((s * myTime * 2 * Math.PI) + calibrate) * -1;
}
value = center + [Math.sin(angle) / thisComp.pixelAspect, -Math.cos(angle)] * d;