---
title: direction
framework: ComputeGraph
role: symbol
role_heading: Instance Property
path: computegraph/mouseparams/direction
---

# direction

The normalized direction vector of the mouse ray, converted to the simulation’s coordinate system.

## Declaration

```swift
var direction: simd_float3
```
