# Scene.createSceneLayer
Creates a scene layer from a source scene

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## Scene.createSceneLayer() method

Creates a scene layer from a source scene

**Signature:**

```typescript
createSceneLayer(opts?: SceneLayerCreateOptions): SceneLayer;
```

## Parameters

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        opts
      </td>

      <td>
        [SceneLayerCreateOptions](../../types/scene-layer-create-options)
      </td>

      <td>
        _(Optional)_ Options for creating the scene layer
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

[SceneLayer](../scene-layer)

The newly created scene layer

## Example

```ts
// Create a scene layer from layers
const sceneLayer = await scene.createSceneLayer({ scene: scene1 });
```
