---
title: hideViewpoint
slug: viewer-2d/methods/hideViewpoint
docTags: 
createdAt: 2024-02-21T14:33:53.989Z
---

Removes the **Viewpoint** from the viewer.

:::hint{type="info"}
The **Viewpoint** is an optional visual indicator that includes an arrow icon. The **Viewpoint** accepts mouse and touch events so that users can move it within the 2D viewer. The **Viewpoint** is typically used in conjunction with the 3D viewer to show the location and orientation of the 3D viewer camera within the 2D viewer.
:::

## Example

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

## Usage

```javascript
viewer2d.hideViewpoint();
```

