<!--
{
  "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/ElementSpawnParameters/velocity",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph22ElementSpawnParametersV8velocitys5SIMD3VySfGvp"
  },
  "title" : "velocity"
}
-->

# velocity

The initial velocity vector of the particle in world space units per second.

```
var velocity: SIMD3<Float> { get set }
```

## Discussion

This determines the particle’s initial direction and speed of movement. The magnitude
of the vector represents the speed, while the direction represents the movement direction.
A zero velocity means the particle starts stationary.

---

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)