Skip to content

engine.GetPointContents

Checks if given point is inside wall.

Syntax

int engine.GetPointContents(src:Vector3, mask:integer = MASK_ALL)

Parameters

src Source vector.

mask Mask for the trace. See Valve SDK for trace masks

Return value

The function returns the content.