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

Returns the current clipping planes.

## Example

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

## Usage

```javascript
const clippingPlanes = viewer3d.getClippingPlanes();
```

## Return Value

List of clipping planes.

| **Type**       |
| -------------- |
| Array\[Object] |

**Properties**

| **Name**    | **Type**                                | **Description**                 |
| ----------- | --------------------------------------- | ------------------------------- |
| `active`    | Boolean                                 | Is the active clipping plane    |
| `direction` | [Vector3](docId\:kEwRHKTC8Iq2HlT48sRFQ) | Direction of the clipping plane |
| `location`  | [Vector3](docId\:kEwRHKTC8Iq2HlT48sRFQ) | Location of the clipping plane  |
| `measure`   | Boolean                                 | Is plane measurement enabled    |

### Example

```javascript
[
  {
    location: {
      x: 0,
      y: 0,
      z: 0
    },
    direction: {
      x: 0,
      y: 0,
      z: 1
    },
    active: false,
    measure: false
  }
];
```

