Garry's Mod Wiki

CNavArea:IsOverlapping

  boolean CNavArea:IsOverlapping( Vector pos, number tolerance = 0 )

Description

Returns if this position overlaps the Nav Area within the given tolerance.

Arguments

1 Vector pos
The overlapping position to test.
2 number tolerance = 0
The tolerance of the overlapping, set to 0 for no tolerance.

Returns

1 boolean
Whether the given position overlaps the Nav Area or not.