<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICoordinateSpace/convert(_:to:)-2ub7a",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UICoordinateSpace(im)convertPoint:toCoordinateSpace:"
  },
  "title" : "convert(_:to:)"
}
-->

# convert(_:to:)

Converts a point from the coordinate space of the current object to the specified coordinate space.

```
func convert(_ point: CGPoint, to coordinateSpace: any UICoordinateSpace) -> CGPoint
```

## Parameters

`point`

A point specified in the coordinate system of the current object.

`coordinateSpace`

The coordinate space into which `point` is to be converted.

## Return Value

A point specified in the target coordinate space.

## Discussion

---

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)