---
name: "setWaterLeakiness"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "2.16"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/setWaterLeakiness
revid: 363318
updated: 2024-03-26T16:41:37Z
---

# setWaterLeakiness

*Command · Object Manipulation · Arma 3 v2.16*

Locality: arguments **local** · effect **global**

## Description

Set an object's water intake ratio when immersed.

## Syntax

```sqf
obj setWaterLeakiness leakiness
```

**Parameters:**

- `obj`: [Object](../topics/Object.md) - object to manipulate
- `leakiness`: [Number](../topics/Number.md) - in range 0..1 where 0 is waterproof and 1 is full leak

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
private _veh = vehicle player;
if (surfaceIsWater getPosASL _veh) then
{
    _veh setWaterLeakiness 1;
};
```

## See also

[getWaterLeakiness](../commands/getWaterLeakiness.md) · [setWaterFillPercentage](../commands/setWaterFillPercentage.md) · [getWaterFillPercentage](../commands/getWaterFillPercentage.md)

<sub>Source: [BI Community Wiki — setWaterLeakiness](https://community.bistudio.com/wiki/setWaterLeakiness) (revision 363318).</sub>
