How to flyTo and entity and then track it from that height

I am trying to follow an entity with very high atitude which is animating on the space.
After lots of reaseach I managed to flyTo the entity but since the entity is in animation the camera view doest track the entity.

Is it possible to track the entity after flying to it with a given height?

/// Its very high from the ground
viewer.flyTo(entity, {
duration: 8.0,
offset: new HeadingPitchRange(Math.toRadians(0), Math.toRadians(-90), 10000000)

I haven’t tried, but at worst you could keep track of the currently tracked entity + current height and at each frame render use the same flyTo function with duration=0.