Intersection of line with tiles.

How to determine the intersection of the line with 3dtiles.
I'm trying to draw line between 3d tiles and i want to stop the line when it touches any building how can it be done.

There isn’t a way to do that right now, but we are actively working on this! You can see the progress we have so far here:

The new intersection tests should allow you to do this.