How to change cinemachine orbit size and height via script?

Hi guys, I was wondering if there is any way to change the height and the radius of a cinemachine orbits via script. I want to change the orbits whenever I change the Follow and LookAt transforms. Is there anyway?179967-cinemachine.png

Hello! I hope you still need an answer.

CinemachineFreeLook.m_Orbits[1].m_Radius = 4f;
CinemachineFreeLook.m_Orbits[1].m_Height = 4f;

Where:

TopRig - m_Orbits[0]

MiddleRig - m_Orbits[1]

BottomRig - m_Orbits[2]

Good luck!