# layers

> Returns all the layers defined in this project.

## Definition

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

```csharp
public static SortingLayer[] layers { get; }
```

### Remarks

Additional Resources: [Tags and Layers](/engine/6000.0/manual/unity-editor/editor-settings-reference/comp-manager-group/class-tag-manager.md).
