<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PointerStyle/frameResize(position:directions:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12PointerStyleV11frameResize8position10directionsAcA05FrameF8PositionO_AA0iF9DirectionO3SetVtFZ"
  },
  "title" : "frameResize(position:directions:)"
}
-->

# frameResize(position:directions:)

The pointer style for resizing a rectangular frame from a specific edge
or corner.

```
static func frameResize(position: FrameResizePosition, directions: FrameResizeDirection.Set = .all) -> PointerStyle
```

## Parameters

`position`

The position along the perimeter of the frame (its edges
and corners) from which it’s resized.

`directions`

The directions in which the frame can be resized.

---

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)