---
title: sensor
framework: sensorkit
role: symbol
role_heading: Instance Property
path: sensorkit/srsensorreader/sensor
---

# sensor

The particular sensor that this object reads.

## Declaration

```swift
var sensor: SRSensor { get }
```

## Discussion

Discussion The framework sets this property to the sensor you pass into init(sensor:).

## See Also

### Creating a sensor reader

- [init(sensor:)](sensorkit/srsensorreader/init(sensor:).md)
- [SRSensor](sensorkit/srsensor.md)
