<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIIndirectScribbleInteractionDelegate-hdh/indirectScribbleInteraction(_:frameForElement:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit37UIIndirectScribbleInteractionDelegateP08indirectcD0_15frameForElementSo6CGRectVSo13UIInteraction_p_0I10IdentifierQztF"
  },
  "title" : "indirectScribbleInteraction(_:frameForElement:)"
}
-->

# indirectScribbleInteraction(_:frameForElement:)

Asks the delegate to provide the frame of an element.

```
func indirectScribbleInteraction(_ interaction: any UIInteraction, frameForElement elementIdentifier: Self.ElementIdentifier) -> CGRect
```

## Parameters

`interaction`

The interaction requesting to focus an element.

`elementIdentifier`

The identifier of the element that should receive focus.

## Return Value

Returns the frame for the element, in the view coordinate system of the interaction.

## 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)