---
title: select
slug: viewer-3d/methods/select
docTags: 
createdAt: 2024-03-01T14:17:48.684Z
---

Adds the specified objects to the selection.

## Example

::codepen{url="https://codepen.io/Catenda/embed/zYVzgvO"}

## Usage

```javascript
const objectIds = ["object-1", "object-2"];

viewer3d.select(objectIds);
```

## Parameters

### objectIds

List of object ids to add to the selection.

| **Type**       | **Required** |
| -------------- | ------------ |
| Array\[String] | Yes          |

