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

Makes the specified objects opaque in the scene.

## Example

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

## Usage

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

viewer3d.makeOpaque(objectIds);
```

## Parameters

### objectIds

List of object ids to make opaque.

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

