function
isInWater (client-side)
Deprecated since version: 0.2.1
The function is used to check whether hero is in the water (standing, swimming or diving).
Declaration
bool isInWater()
Parameters
No parameters.
Returns bool
true
when hero is in the water, otherwise false
.