<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPushBehavior/angle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPushBehavior(py)angle"
  },
  "title" : "angle"
}
-->

# angle

The angle, in radians, of the force vector for the behavior.

```
var angle: CGFloat { get set }
```

## Discussion

The default angle is `0` radians, using standard UIKit geometry. To configure the force vector for a push behavior, set the [`magnitude`](/documentation/UIKit/UIPushBehavior/magnitude) property as well as the [`angle`](/documentation/UIKit/UIPushBehavior/angle) property.

Alternatively, you can express the direction of force by using *x* and *y* components with the [`pushDirection`](/documentation/UIKit/UIPushBehavior/pushDirection) property. Whichever approach you use, the alternate, equivalent values update automatically.

---

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)