Skip to content

function isInWater (client-side)

Available since version: 0.1.4

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.