# bounces

> This property is now obsolete. Use LightingSettings.bounces.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** LightmapEditorSettings.bounces is obsolete, use LightingSettings.maxBounces instead.

```csharp
public static int bounces { get; set; }
```
