<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/SpatialTemplateElementDirection/+(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Group Activities"
    ],
    "preciseIdentifier" : "s:15GroupActivities31SpatialTemplateElementDirectionV1poiyA2C_So7SPAngleatFZ"
  },
  "title" : "+(_:_:)"
}
-->

# +(_:_:)

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

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

## Parameters

`lhs`

The first direction.

`rhs`

The second direction.

## Return Value

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

---

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)