Garry's Mod Wiki

CNavArea:IsVisible

  boolean, Vector CNavArea:IsVisible( Vector pos )

Description

Returns whether we can be seen from the given position.

Arguments

1 Vector pos
The position to check.

Returns

1 boolean
Whether we can be seen or not.
2 Vector
If we can be seen, this is returned with either the center or one of the corners of the Nav Area.