---
title: "lookingAt(_:)"
framework: groupactivities
role: symbol
role_heading: Type Method
path: "groupactivities/spatialtemplateelementdirection/lookingat(_:)-70j0i"
---

# lookingAt(_:)

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

## Declaration

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

## Parameters

- `element`: The template element to look at.

## Return Value

Return Value A direction type that faces the specified seat position.

## Discussion

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

## See Also

### Looking at a specific location

- [lookingAt(_:)](groupactivities/spatialtemplateelementdirection/lookingat(_:)-1d7ak.md)
