IsSubmerged
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 4.0.6 / 1.13.2 |
Returns whether the player character is submerged in water.
isSubmerged = IsSubmerged([unit])
Arguments
- unit
- string? : UnitToken
Returns
- isSubmerged
- boolean - True if the unit is submerged.
Details
- 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