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

# lookingAt(_:)

Creates a direction that orients the participant to face
another template element.

```
static func lookingAt(_ element: any SpatialTemplateElement) -> SpatialTemplateElementDirection
```

## Parameters

`element`

The template element to look at.

## Return Value

A direction type that faces the specified seat position.

## Discussion

Call this method when you want one participant to look at another
participant.

---

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)