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

Removes the specified objects from the selection.

## Example

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

## Usage

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

viewer3d.deselect(objectIds);
```

## Parameters

### objectIds

List of object ids to remove from the selection.

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

