<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextLoupeSession/move(to:withCaretRect:trackingCaret:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITextLoupeSession(im)moveToPoint:withCaretRect:trackingCaret:"
  },
  "title" : "move(to:withCaretRect:trackingCaret:)"
}
-->

# move(to:withCaretRect:trackingCaret:)

Moves the loupe to the specified point in the session’s associated view.

```
func move(to point: CGPoint, withCaretRect caretRect: CGRect, trackingCaret tracksCaret: Bool)
```

## Parameters

`point`

The new location you want to magnify with the loupe. When creating the loupe with a gesture recognizer, specify the location of the gesture.

`caretRect`

The current position of the caret handle. Specify <doc://com.apple.documentation/documentation/CoreGraphics/CGRectNull> if the view doesn’t contain a selection or the caret isn’t visible.

`tracksCaret`

`true` if you want the loupe to track the movements of the caret. If you specify `true`, provide a valid rectangle in the `caretRect` parameter. Specify `false` to continue tracking the location of touch events.

## Discussion

Call this method repeatedly from a gesture recognizer when the touch location changes.

---

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)