---
title: SpatialTemplateElementAxis
framework: groupactivities
role: symbol
role_heading: Structure
path: groupactivities/spatialtemplateelementaxis
---

# SpatialTemplateElementAxis

An axis to use when aligning elements in a spatial template.

## Declaration

```swift
struct SpatialTemplateElementAxis
```

## Overview

Overview When configuring the elements of a spatial template, you can specify directions that orient a participant with the x- or z-axis of the shared coordinate space. These alignments rotate the participant around the y-axis to face the specified axis.

## Topics

### Type Properties

- [x](groupactivities/spatialtemplateelementaxis/x.md)
- [z](groupactivities/spatialtemplateelementaxis/z.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Looking along an axis

- [alignedWith(appAxis:)](groupactivities/spatialtemplateelementdirection/alignedwith(appaxis:).md)
