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

Set the navigation settings.

:::hint{type="warning"}
This method supersedes the deprecated methods `walkSpeed`, `elevationSpeed` and `rotationSpeed`.
:::

## Example

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

## Usage

```javascript
const navigationSettings = {
  elevationSpeed: 1.5,
  rotationSpeed: 40,
  walkSpeed: 3.0
};

viewer3d.setNavigationSettings(navigationSettings);
```

## Parameters

### navigationSettings

The navigation settings.

| **Type** | **Required** |
| -------- | ------------ |
| Object   | Yes          |

**Properties**

| **Name**         | **Type** | **Required** | **Description**                          |
| ---------------- | -------- | ------------ | ---------------------------------------- |
| `elevationSpeed` | Number   | No           | The elevation speed in meters per second |
| `rotationSpeed`  | Number   | No           | The rotation speed in degrees per second |
| `walkSpeed`      | Number   | No           | The walking speed in meters per second   |

