# getVehicleSuspensionHeight (Shared)

> Returns the suspension height `setVehicleSuspensionHeight` gave a vehicle.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Shared
- **Category**: Vehicles
- **URL**: https://wiki.mymp.gg/en/getVehicleSuspensionHeight

## Syntax

```lua
float|false getVehicleSuspensionHeight(vehicle vehicle)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `vehicle` | `vehicle` | The vehicle. |

## Returns

The height in metres (negative when lowered, 0 when normal), or `false` if the element is not a vehicle.

## Example

```lua
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle and getVehicleSuspensionHeight(vehicle) < 0 then
    outputDebugString("Lowered car")
end
```

## See also

- [setVehicleSuspensionHeight (Shared)](https://wiki.mymp.gg/en/setVehicleSuspensionHeight.md): Raises or lowers a vehicle's suspension.
