---
title: angle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipushbehavior/angle
---

# angle

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

## Declaration

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

## Discussion

Discussion The default angle is 0 radians, using standard UIKit geometry. To configure the force vector for a push behavior, set the magnitude property as well as the angle property. Alternatively, you can express the direction of force by using x and y components with the pushDirection property. Whichever approach you use, the alternate, equivalent values update automatically.

## See Also

### Configuring a push behavior

- [setAngle(_:magnitude:)](uikit/uipushbehavior/setangle(_:magnitude:).md)
- [magnitude](uikit/uipushbehavior/magnitude.md)
- [mode](uikit/uipushbehavior/mode-swift.property.md)
- [setTargetOffsetFromCenter(_:for:)](uikit/uipushbehavior/settargetoffsetfromcenter(_:for:).md)
- [targetOffsetFromCenter(for:)](uikit/uipushbehavior/targetoffsetfromcenter(for:).md)
- [pushDirection](uikit/uipushbehavior/pushdirection.md)
