---
title: mode
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/computegraphsimulation/simulationrate-swift.struct/mode-swift.property
---

# mode

The simulation mode that determines how time steps are calculated.

## Declaration

```swift
var mode: ComputeGraphSimulation.SimulationRate.Mode
```
