---
title: "setSceneName"
canonical: "https://help.vicon.com/space/Shogun16/13340116/setSceneName"
format: markdown
---
# Description

Sets the name of the scene.

The scene name gets set automatically when opening or importing a file, and is the default name that appears in the **Save**, **Save As**, and **Export** dialog boxes.

## Functional area

System

# Command syntax

## Syntax

|  |
| --- |
| `setSceneName "name"` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `sceneName` | string | yes | The name of the scene. |

### Flags

None

## Return value

void

## Examples

```plaintext
// Modify the name of the scene
string $name;
 
// Append v2 to the current scene name
$name = `getSceneName`;
$name += "_v2";
 
// Set it 
setSceneName $name;
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [getSceneName](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13340886)