# `GSGuide.angle`

*Instance Property*

The rotation in degrees, with zero degrees along the positive x-axis.

## Declaration

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

```objc
@property (nonatomic) CGFloat angle;
```

[See also `angle` in the Python API](https://docu.glyphsapp.com/#GSGuide.angle)

```python
pyobjc_instanceMethods.angle() -> float
pyobjc_instanceMethods.setAngle_(angle: float)
```

## Discussion

Setting the angle has no effect while [`GSGuide.lockAngle`](/Core/GlyphsCore/GSGuide/lockAngle) is enabled.

## See Also

### Angle

- [`GSGuide.lockAngle`](/Core/GlyphsCore/GSGuide/lockAngle) — Whether changes to the angle are disabled.
- [`GSGuide.hasSlope`](/Core/GlyphsCore/GSGuide/hasSlope) — Whether the angle is represented as a slope.
- [`GSGuide.angleUI`](/Core/GlyphsCore/GSGuide/angleUI) — The UI representation of the angle as degrees or a slope.
- [`GSGuide beginPointForLayerWidth:`](/Core/GlyphsCore/GSGuide/beginPointForLayerWidth:) — The start point used to represent the line at the specified layer width.
- [`GSGuide endPointForLayerWidth:`](/Core/GlyphsCore/GSGuide/endPointForLayerWidth:) — The end point used to represent the line at the specified layer width.

