visibleLine property
The part of the line of sight that is visible to the observer.
If there are no portions of unobstructed line of sight between the observer and the target, for example if the observer point is below the terrain, the geometry is null. If an error occurs during evaluation, the geometry is null.