# lastData

> The last geographical location that the device registered.

## Definition

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

```csharp
public LocationInfo lastData { get; }
```

### Remarks

Before you access this property, call [Start()](/engine/6000.5/script-reference/unityengine/locationservice/start.md) in [Input.location](/engine/6000.5/script-reference/unityengine/input/location.md) to start the location service.

**Note**: On WebGL, this value is 0 or null if the browser has no implementation for it.
