---
title: "+(_:_:)"
framework: groupactivities
role: symbol
role_heading: Operator
path: "groupactivities/spatialtemplateelementdirection/+(_:_:)"
---

# +(_:_:)

Adds the y-axis rotations for the specified values together and returns a new structure with the result.

## Declaration

```swift
static func + (lhs: SpatialTemplateElementDirection, rhs: Angle2D) -> SpatialTemplateElementDirection
```

## Parameters

- `lhs`: The first direction.
- `rhs`: The second direction.

## Return Value

Return Value A new direction type that combines the rotations from lhs and rhs.
