# Box

> The shape of the spot light resembles a box oriented along the ray direction.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Deprecated.** This property has been deprecated. Use LightType.Spot, LightType.Pyramid, or LightType.Box instead.

```csharp
Box = 2
```
