---
title: falloff
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/sklightnode/falloff
---

# falloff

The exponent for the rate of decay of the light source.

## Declaration

```swift
var falloff: CGFloat { get set }
```

## Discussion

Discussion The default value is 1.0, which means the light decays linearly with distance. The value must be a positive number less than or equal to 1.0.

## See Also

### Configuring the Lighting Properties

- [ambientColor](spritekit/sklightnode/ambientcolor.md)
- [lightColor](spritekit/sklightnode/lightcolor.md)
- [shadowColor](spritekit/sklightnode/shadowcolor.md)
