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

# indirectScribbleInteraction(_:willBeginWritingInElement:)

Informs the delegate when the user begins writing.

```
func indirectScribbleInteraction(_ interaction: any UIInteraction, willBeginWritingInElement elementIdentifier: Self.ElementIdentifier)
```

## Parameters

`interaction`

The interaction where the user started writing.

`elementIdentifier`

The identifier of the element that should receive focus.

## Discussion

Use this to hide custom placeholders or other UI elements that can interfere with writing.

---

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)