> For the complete documentation index, see [llms.txt](https://docs.thunkable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thunkable.com/snap-to-place/location-sensor.md).

# Location Sensor

![](/files/-LAn66OHeUWrLzEQSkVv)

## Get User's Current Location

![](/files/-MXHRVyID36zSz_CMzda)

The Location Sensor returns a user's current location in `latitude` and `longitude` as well as a `location` object which includes additional properties like `accuracy`, `altitude`, `speed` and `heading` (or direction) which you have to retrieve with the object blocks above

| Event / Property     | Description                                                                                                                                                                                                                                                              |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Get Current Location | Returns a user's location in  `latitude` and `longitude` degrees; also includes additional information in a location object including i) estimated location `accuracy` in meters,  ii) `altitude` in meters, iii)  `speed` in meters/second and iv) `heading` in degrees |

## Functions

### Get Current Location

![](/files/-MXHS5NJSN15G0XTWWTV)

## Properties

### Enable High Accuracy&#x20;

![](/files/-MXHSDC0KECUsPzqBb-V)

### Maximum Age&#x20;

![](/files/-MXHSVtlpzuYhC-OXyCz)
