engine.GetPointContents s1
Returns the content flags at a world-space point (water, slime, solid, etc.). Combine with the CONTENTS_* constants.
Syntax
engine.GetPointContents(point, mask)
Parameters
pointVector3- World-space position to test.
maskint- Mask for the trace; see Valve SDK for trace masks.
Returns
Returns int.