How to check is there any entity in front of selected entity in cesium?

Hi,

I have created some extruded polygon entities with different heights in same place. Then I want to zoom each entity separately. I have used viewer.flyTo(entity) to fly to entity. But sometimes, I see the flyto function zoom to an entity that is hidden by other large extruded polygon entities. I do not want to set a specific orientation for the flyto function.

Do you know any way to identify large entity in front of zoomed entity so it will set orientation from the opposite direction to see the entity clearly?

Thanks in advance.