# altitude

> The altitude of the device's geographical location in meters.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.InputLegacyModule

```csharp
public float altitude { get; }
```

### Remarks

The altitude value can vary per platform based on the coordinate reference system each platform uses.

* **Android**, **UWP**, **Web**: The altitude is measured relative to the WGS84 (World Geodetic System 1984) ellipsoid.
* **iOS**: The altitude is measured relative to mean sea level, as provided by the [CLLocation API (Apple)](https://developer.apple.com/documentation/corelocation/cllocation).
