Garry's Mod Wiki

SurfaceInfo:IsSky

Description

Checks if the brush surface is displaying the skybox.

This internally checks the SURFDRAW_SKY flag.

Returns

1 boolean
Returns true if the surface is the sky.