<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPointerStyle/init(effect:shape:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So14UIPointerStyleC5UIKitE6effect5shapeAbC0A6EffectO_AC0A5ShapeOSgtcfc"
  },
  "title" : "init(effect:shape:)"
}
-->

# init(effect:shape:)

Applies the provided content effect and pointer shape to the current region.

```
@MainActor @preconcurrency convenience init(effect: UIPointerEffect, shape: UIPointerShape? = nil)
```

## Parameters

`effect`

The [`UIPointerEffect`](/documentation/UIKit/UIPointerEffect-swift.enum) to apply to the region.

`shape`

The [`UIPointerShape`](/documentation/UIKit/UIPointerShape-swift.enum) to use, defaults to `nil`.

---

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)