Garry's Mod Wiki

SurfaceInfo:IsNoDraw

Description

Checks if the brush surface is a nodraw surface, meaning it will not be drawn by the engine.

This internally checks the SURFDRAW_NODRAW flag.

Returns

1 boolean
Returns true if this surface won't be drawn.