---
title: SCNParticleInputMode.overDistance
framework: scenekit
role: symbol
role_heading: Case
path: scenekit/scnparticleinputmode/overdistance
---

# SCNParticleInputMode.overDistance

The controller’s effect on a particle property is a function of the particle’s distance from the position of a specified node.

## Declaration

```swift
case overDistance
```

## Discussion

Discussion Use the inputOrigin property to specify the node to measure distance from, and the inputBias and inputScale properties to refine the relationship between a range of distances into a range of input values for the controller’s animation.

## See Also

### Constants

- [SCNParticleInputMode.overLife](scenekit/scnparticleinputmode/overlife.md)
- [SCNParticleInputMode.overOtherProperty](scenekit/scnparticleinputmode/overotherproperty.md)
