# Scene.import
Import animations and images into the scene.

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

## Scene.import() method

Import animations and images into the scene.

**Signature:**

```typescript
import(opts: ImportFromContent | ImportFromURL): Promise<SceneLayer | ImageLayer>;
```

## Parameters

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

      <th>
        Type
      </th>

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

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

      <td>
        [ImportFromContent](../../types/import-from-content) | [ImportFromURL](../../types/import-from-url)
      </td>

      <td>
        Options for importing the animation or image
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

Promise\<[SceneLayer](../scene-layer) | [ImageLayer](../image-layer)>

The imported scene layer
