# aoMaxDistance

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

## Definition

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

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

```csharp
public static float aoMaxDistance { get; set; }
```
