API IsSubmerged

From Wowpedia
Jump to: navigation, search

Returns whether the player character is submerged in water.

isSubmerged = IsSubmerged()


Flag - 1 if the player is submerged, nil otherwise.


  • This function is similar to IsSwimming, but also returns 1 when running at the bottom of a surface of water.
  • This function is available within the RestrictedEnvironment

See also