Garry's Mod Wiki

SurfaceInfo:IsWater

Description

Checks if the brush surface is water.

This internally checks the SURFDRAW_WATER flag.

Returns

1 boolean
Returns true if the surface is water.