---
title: "setOutputEnabled(_:enabled:)"
framework: realitykit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "realitykit/computegraphcomponent/setoutputenabled(_:enabled:)"
---

# setOutputEnabled(_:enabled:)

Sets the enable state of an output identified by ID

## Declaration

```swift
mutating func setOutputEnabled(_ outputID: ComputeNodeGraph.NodeID, enabled: Bool)
```

## Discussion

Discussion This will cause the output mesh to disappear, and output stages to stop executing. The simulation, however, will continue to execute. See pause(), play(), and RealityKit.Entity.isEnabled to control the simulation as a whole
