# SelectionAPI
API for accessing the currently selected nodes and keyframes.

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

## SelectionAPI interface

API for accessing the currently selected nodes and keyframes.

**Signature:**

```typescript
interface SelectionAPI
```

## Properties

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

      <th>
        Modifiers
      </th>

      <th>
        Type
      </th>

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

  <tbody>
    <tr>
      <td>
        [keyframes](/en/creator-api/types/selection-api/keyframes)
      </td>

      <td />

      <td>
        ReadonlyArray\<[Keyframe](/en/creator-api/nodes/keyframe)\<unknown>>
      </td>

      <td>
        Currently selected keyframes
      </td>
    </tr>

    <tr>
      <td>
        [nodes](/en/creator-api/types/selection-api/nodes)
      </td>

      <td />

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

      <td>
        Currently selected layers and shapes
      </td>
    </tr>
  </tbody>
</table>
