---
title: sensorLocation
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmdevicemotion/sensorlocation-swift.property
---

# sensorLocation

The location of the sensors that compute the device-motion data.

## Declaration

```swift
var sensorLocation: CMDeviceMotion.SensorLocation { get }
```

## See Also

### Getting the Sensor Location

- [CMDeviceMotion.SensorLocation](coremotion/cmdevicemotion/sensorlocation-swift.enum.md)
