---
title: extent
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/barcodeanchor/extent
---

# extent

The extent of the detected barcode’s bounds.

## Declaration

```swift
var extent: SIMD3<Float> { get }
```

## Discussion

Discussion The width of the detected barcode is the length along the X-axis, prior to rotation about the Y-axis. The height of the detected barcode is the length along the Z-axis, prior to rotation about the Y-axis.

## See Also

### Getting barcode information

- [originFromAnchorTransform](arkit/barcodeanchor/originfromanchortransform.md)
- [payloadData](arkit/barcodeanchor/payloaddata.md)
- [payloadString](arkit/barcodeanchor/payloadstring.md)
- [symbology](arkit/barcodeanchor/symbology-swift.property.md)
- [BarcodeAnchor.Symbology](arkit/barcodeanchor/symbology-swift.enum.md)
- [id](arkit/barcodeanchor/id.md)
