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

# ambientColor

The ambient color of the light.

## Declaration

```swift
var ambientColor: UIColor { get set }
```

```swift
var ambientColor: NSColor { get set }
```

## Discussion

Discussion The alpha value of the color is ignored. The default color is black, meaning that the light does not have an ambient component. The ambient component of the light is not affected by the light’s falloff property, nor is it affected by any normal map (normalTexture) on the sprite node.

## See Also

### Configuring the Lighting Properties

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