ScriptEvent:isInWater

From Mod Wiki

Parameters

None.

Result

float

Supported By

idEntity

Comments

  • Not all physics types support this, if they do not, they will always return 0.

Functionality

Returns the fraction of the entity which is under water.