# CreatorAPI.createScene
Creates a new scene.

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

## CreatorAPI.createScene() method

Creates a new scene.

**Signature:**

```typescript
createScene(opts?: SceneCreateOptions): Scene;
```

## Parameters

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

      <th>
        Type
      </th>

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

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

      <td>
        [SceneCreateOptions](/en/creator-api/types/scene-create-options)
      </td>

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

**Returns:**

[Scene](/en/creator-api/nodes/scene)

The newly created scene

## Example

```ts
// Create a new scene
const newScene = creator.createScene({
  name: "New Scene",
  size: { width: 1920, height: 1080 },
  framerate: 60,
  duration: 5,
});
```
