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

Removes the specified shape from the scene.

## Example

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

## Usage

```javascript
const shapeId = "my-shape-id";

viewer3d.removeShape(shapeId);
```

## Parameters

### shapeId

Id of the shape to remove.

| **Type** | **Required** |
| -------- | ------------ |
| String   | Yes          |

