<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextInput/beginFloatingCursor(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UITextInput(im)beginFloatingCursorAtPoint:"
  },
  "title" : "beginFloatingCursor(at:)"
}
-->

# beginFloatingCursor(at:)

Tells the object when the gesture that the system uses to manipulate the cursor begins.

```
optional func beginFloatingCursor(at point: CGPoint)
```

## Parameters

`point`

The point at which the gesture occurred in your view. This point is in the coordinate space of the view in the [`textInputView`](/documentation/UIKit/UITextInput/textInputView) property.

## Discussion

UIKit calls this method when the user begins to perform a two-finger pan gesture to pick up the cursor. You can use this method to update the visual state of your text view. For example, you might use this method to display custom visual feedback for cursor movements.

If you do not implement this method, UIKit provides visual feedback only when the selection 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)