# allCameras

> Returns all enabled cameras in the Scene.

## Definition

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

```csharp
public static Camera[] allCameras { get; }
```

### Remarks

All cameras in the scene can be enabled or disabled. The [Camera.allCameras](/engine/6000.7/script-reference/unityengine/camera/allcameras.md) value tells how many cameras are still enabled.  If all the cameras are disabled then a value of zero will be returned.

### Examples

```csharp
using UnityEngine;

public class ExampleScript : MonoBehaviour
{
    private int count;

    void Start()
    {
        count = Camera.allCameras.Length;
        print("We've got " + count + " cameras");
    }
}
```
