---
title: "==(_:_:)"
framework: realitykit
role: symbol
role_heading: Operator
path: "realitykit/scene/==(_:_:)"
---

# ==(_:_:)

Indicates whether two scenes are equal.

## Declaration

```swift
nonisolated static func == (lhs: Scene, rhs: Scene) -> Bool
```

## Parameters

- `lhs`: The first scene to compare.
- `rhs`: The second scene to compare.

## Return Value

Return Value A Boolean value set to true if the two scenes are equal.
