# VEHICLE_FLAG_HOVER_WATER_ONLY

*LSL constant*

```lsl
integer VEHICLE_FLAG_HOVER_WATER_ONLY = 0x4;
```

Constant groups: [VehicleFlag](/constants/groups/VehicleFlag/)

Makes the vehicle over water.

If you wanted to make a boat you should set the [VEHICLE_FLAG_HOVER_WATER_ONLY](/constants/VEHICLE_FLAG_HOVER_WATER_ONLY/) flag, or if you wanted to drive a hover tank under water you would use the [VEHICLE_FLAG_HOVER_TERRAIN_ONLY](/constants/VEHICLE_FLAG_HOVER_TERRAIN_ONLY/) flag instead. Finally, if you wanted to make a submarine or a balloon you would use the [VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT](/constants/VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT/).

The vehicle flags are independent of each other and that setting two contradictory flags will have undefined behavior. The flags are set using the script call [llSetVehicleFlags](/functions/llSetVehicleFlags/).

## See also

### Constants

| Constant | Type | Value | Description |
| --- | --- | --- | --- |
| [VEHICLE_BUOYANCY](/constants/VEHICLE_BUOYANCY/) |  |  |  |
| [VEHICLE_HOVER_HEIGHT](/constants/VEHICLE_HOVER_HEIGHT/) |  |  |  |
| [VEHICLE_FLAG_HOVER_UP_ONLY](/constants/VEHICLE_FLAG_HOVER_UP_ONLY/) |  |  |  |

### Functions

- [llSetVehicleFlags](/functions/llSetVehicleFlags/)
- [llRemoveVehicleFlags](/functions/llRemoveVehicleFlags/)

### Articles

- [Linden Vehicle Tutorial](https://wiki.secondlife.com/wiki/Linden_Vehicle_Tutorial)

---

*Source: [VEHICLE FLAG HOVER WATER ONLY](https://wiki.secondlife.com/wiki/VEHICLE_FLAG_HOVER_WATER_ONLY) on the Second Life Wiki. Content from the Second Life Wiki article VEHICLE FLAG HOVER WATER ONLY (revision 401692, 2009-06-22), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/VEHICLE_FLAG_HOVER_WATER_ONLY/
