---
title: scope
framework: Compute Graph
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/computenodegraph/statedefinition/scope
---

# scope

The scope that owns this state. For example, ComputeNodeGraph/Scope/element stores a value per particle, while ComputeNodeGraph/Scope/emitter stores a single value used by the emission stage.

## Declaration

```swift
var scope: ComputeNodeGraph.Scope
```
