# Interface

## Overview

<figure><img src="https://1853659043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOaVzlMa1Hn8OxqfYLKn%2Fuploads%2F1yC35866Ifc1BkmDGvV9%2F%7B4F3FC200-E653-4117-BF9F-2218913E5AE3%7D.png?alt=media&#x26;token=806f8066-aede-4360-9acd-87d460859647" alt=""><figcaption></figcaption></figure>

### Variables

The **Variables** section displays all existing variables in the file. To create a new variable, select the variable type from the dropdown list and click the **Plus** button. You can also use the **Paste** button to add a variable from the clipboard.

Variables can be rearranged by dragging the three dots on the left up or down.

<figure><img src="https://1853659043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOaVzlMa1Hn8OxqfYLKn%2Fuploads%2Fdi29KCS2ccrjPps2RQYf%2F%7B9CC01CF9-ED8B-4613-9B91-872EE96028B1%7D.png?alt=media&#x26;token=d176d6bc-536a-47fe-bd7a-be1fcfa24eae" alt=""><figcaption></figcaption></figure>

The triangle icon is used to hide or unhide the variable. Next to it is an eye icon, which toggles the "Show in Editor" option. On the left, there is a variable type indicator. You can edit the variable type by clicking the edit icon on the right.

### Explorer

The explorer displays the root directory of addon.

### Explorer buttons

| Action        | Description                                                                               | Hotkey           |
| ------------- | ----------------------------------------------------------------------------------------- | ---------------- |
| Open          | Opens select in the explorer section file.                                                |                  |
| Save          | Saves the current file                                                                    | Ctrl + S         |
| New File      | Creates a new file in the selected folder                                                 | Ctrl + N         |
| Save as       | Opens a file dialog to save the file as a copy.                                           | Ctrl + Shift + S |
| Open as       | Opens a file dialog to select and open a file.                                            | Ctrl + O         |
| Realtime save | When checked, the file will automatically save after any property in the file is changed. |                  |

### Hierarchy

The Hierarchy displays the structure of SmartProp elements. Right-click to open the context menu.

### Context menu actions

| Action                 | Descriptoin                                                                             | Hotkey           |
| ---------------------- | --------------------------------------------------------------------------------------- | ---------------- |
| New Element            | Opens a popup menu with a list of available elements to create.                         | Ctrl + F         |
| New Using Preset       | Opens a popup menu with  a list of presets                                              |                  |
| Move Up                | Moves selected elements up by 1                                                         | Up               |
| Move Down              | Moves selected elements down by 1                                                       | Down             |
| Remove                 | Removes select elements                                                                 | Del              |
| Duplicate              | Duplicates selected elements                                                            | Ctrl + D         |
| Copy                   | Copies selected elements and their child to clipboard                                   | Ctrl + C         |
| Paste                  | Creates a new elements in the hierarchy from clipboard                                  | Ctrl + V         |
| Paste with replacement | Opens a dialog in which you can replace some of text before the element will be created | Ctrl + Shift + V |

### Choices

Choices are special presets for variables. Right click to open the context menu.

#### Context menu&#x20;

| Action | Description | Hotkey |
| ------ | ----------- | ------ |
|        |             |        |
|        |             |        |
|        |             |        |
