Sounds like lead/lag code…
You will have to do it in code. There is no automatic command.
I’m super slammed at the moment, but if I get a moment, we will try and at least sketch out a chart that might be a starting point… Like all code, there will be lots of ways to do it, none more right or wrong than the other.