# NullLayer
A null layer is used as a transform parent for other layers.

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

## NullLayer interface

A null layer is used as a transform parent for other layers. It does not render anything on its own.

**Signature:**

```typescript
interface NullLayer extends LayerMixin
```

**Extends:** [LayerMixin](/en/creator-api/nodes/layer-mixin)

## Remarks

When a null layer is a transform parent of another layer, that child layer inherits the null layer's transform.

Note: the Creator UI refers to the null layer as a null object.

## Example

```ts
const controller = scene.createNullLayer({ name: "Controller" });

controller.rotation.addKeyframes([
  { frame: 0, value: 0 },
  { frame: 60, value: 360 },
]);
```

## Properties

<table>
  <thead>
    <tr>
      <th>
        Property
      </th>

      <th>
        Modifiers
      </th>

      <th>
        Type
      </th>

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

  <tbody>
    <tr>
      <td>
        [layers](/en/creator-api/nodes/null-layer/layers)
      </td>

      <td>
        `readonly`
      </td>

      <td>
        ReadonlyArray\<[Layer](/en/creator-api/nodes/layer)>
      </td>

      <td>
        The layers whose transform parent is this null layer
      </td>
    </tr>

    <tr>
      <td>
        [type](/en/creator-api/nodes/null-layer/type)
      </td>

      <td>
        `readonly`
      </td>

      <td>
        "NULL\_LAYER"
      </td>

      <td>
        Layer type
      </td>
    </tr>
  </tbody>
</table>
