<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/AccessoryAnchor/coordinateSpace(for:correction:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit15AccessoryAnchorV15coordinateSpace3for10correctionAA0a10CoordinateE0VAA0B0V12LocationNameV_AH10CorrectionOtF"
  },
  "title" : "coordinateSpace(for:correction:)"
}
-->

# coordinateSpace(for:correction:)

The coordinate space of a location on this accessory.

```
func coordinateSpace(for location: Accessory.LocationName, correction: ARKitCoordinateSpace.Correction) -> ARKitCoordinateSpace
```

## Parameters

`location`

The location name.

`correction`

Correction type to apply.

## Return Value

The coordinate space of the location.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)