From Divinity Engine Wiki
- query GetSurfaceGroundAt([in](GUIDSTRING)_Target, [out](STRING)_Surface)
Returns the surface in the ground layer at the _Target's location.
- Success/Failure: Fails if the _Target is outside the AIgrid.
- _Surface: The surface on the ground in the air. Returns SurfaceNone if there is no ground surface.