---
title: direction
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/skfieldnode/direction
---

# direction

The direction of a velocity field node.

## Declaration

```swift
var direction: vector_float3 { get set }
```

## See Also

### Configuring Other Field Properties

- [animationSpeed](spritekit/skfieldnode/animationspeed.md)
- [smoothness](spritekit/skfieldnode/smoothness.md)
- [texture](spritekit/skfieldnode/texture.md)
