<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/ComputeNodeGraph/Scope",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Compute Graph",
      "ComputeGraph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph0a4NodeB0V5ScopeV"
  },
  "title" : "ComputeNodeGraph.Scope"
}
-->

# ComputeNodeGraph.Scope

A scope is a named region of memory, indicating where a value lives

```
struct Scope
```

## Overview

A value that exists on each element of a simulation would have a scope of [`element`](/documentation/ComputeGraph/element),
whereas a value that exists on the emitter stage would have a scope of [`emitter`](/documentation/ComputeGraph/emitter).

Each stage of execution provides a subset of available scopes. Stages such as [`group`](/documentation/ComputeGraph/group)
are available only when grouping is enabled for particles.

## Topics

### Initializers

[`init(String)`](/documentation/ComputeGraph/ComputeNodeGraph/Scope/init(_:))

### Instance Properties

[`let name: String`](/documentation/ComputeGraph/ComputeNodeGraph/Scope/name)

## Relationships

### Conforms To

[`Encodable`](/documentation/Swift/Encodable)

[`Decodable`](/documentation/Swift/Decodable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)