Garry's Mod Wiki

Garry's Mod Wiki

  number Entity:WaterLevel()

Description

Returns an integer that represents how deep in water the entity is.

Returns

1 number
The water level.
  • 0 - The entity isn't in water.
  • 1 - Slightly submerged (at least to the feet).
  • 2 - The majority of the entity is submerged (at least to the waist).
  • 3 - Completely submerged.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...