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

# indirectScribbleInteraction(_:shouldDelayFocusForElement:)

Allow the delegate to delay focusing an element.

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

## Parameters

`interaction`

The interaction asking about delaying focus.

`elementIdentifier`

The identifier of the element the interaction is asking about.

## Return Value

Return <doc://com.apple.documentation/documentation/Swift/true> to delay focusing the element; the default is <doc://com.apple.documentation/documentation/Swift/false>.

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