SurfaceInfo/IsWater

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
(Cleanup)
Line 1: Line 1:
 
{{Func
 
{{Func
 
|Description={{NextUpdate}}
 
|Description={{NextUpdate}}
{{Stub}}
+
 
 +
Checks if the brush surface is water.
 +
 
 +
{{Note|This internally checks the SURFDRAW_WATER flag.}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Revision as of 03:50, 11 December 2019

 SurfaceInfo:IsWater( )

Description

Next Update Change

This feature is only available in the next update.

Checks if the brush surface is water.

NOTE

This internally checks the SURFDRAW_WATER flag.

Returns

boolean

Returns true if the surface is water.
Personal tools
Navigation